Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
1a8e9a8e
Commit
1a8e9a8e
authored
Oct 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cse_insn): Don't record a DEST a paradoxical SUBREG and SRC is a
SIGN_EXTEND or ZERO_EXTEND. From-SVN: r8354
parent
99d13c40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
gcc/cse.c
+11
-1
No files found.
gcc/cse.c
View file @
1a8e9a8e
...
...
@@ -7188,7 +7188,17 @@ cse_insn (insn, in_libcall_block)
||
in_libcall_block
/* If we didn't put a REG_EQUAL value or a source into the hash
table, there is no point is recording DEST. */
||
sets
[
i
].
src_elt
==
0
)
||
sets
[
i
].
src_elt
==
0
/* If DEST is a paradoxical SUBREG and SRC is a ZERO_EXTEND
or SIGN_EXTEND, don't record DEST since it can cause
some tracking to be wrong.
??? Think about this more later. */
||
(
GET_CODE
(
dest
)
==
SUBREG
&&
(
GET_MODE_SIZE
(
GET_MODE
(
dest
))
>
GET_MODE_SIZE
(
GET_MODE
(
SUBREG_REG
(
dest
))))
&&
(
GET_CODE
(
sets
[
i
].
src
)
==
SIGN_EXTEND
||
GET_CODE
(
sets
[
i
].
src
)
==
ZERO_EXTEND
)))
continue
;
/* STRICT_LOW_PART isn't part of the value BEING set,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment