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
7b3ab05e
Commit
7b3ab05e
authored
May 11, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART.
From-SVN: r7278
parent
c5bd3be8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/cse.c
+6
-2
No files found.
gcc/cse.c
View file @
7b3ab05e
...
...
@@ -6044,10 +6044,14 @@ cse_insn (insn, in_libcall_block)
fold_rtx
(
x
,
insn
);
}
/* Store the equivalent value in SRC_EQV, if different. */
/* Store the equivalent value in SRC_EQV, if different, or if the DEST
is a STRICT_LOW_PART. The latter condition is necessary because SRC_EQV
is handled specially for this case, and if it isn't set, then there will
be no equivalence for the destinatation. */
if
(
n_sets
==
1
&&
REG_NOTES
(
insn
)
!=
0
&&
(
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
))
!=
0
&&
!
rtx_equal_p
(
XEXP
(
tem
,
0
),
SET_SRC
(
sets
[
0
].
rtl
)))
&&
(
!
rtx_equal_p
(
XEXP
(
tem
,
0
),
SET_SRC
(
sets
[
0
].
rtl
))
||
GET_CODE
(
SET_DEST
(
sets
[
0
].
rtl
))
==
STRICT_LOW_PART
))
src_eqv
=
canon_reg
(
XEXP
(
tem
,
0
),
NULL_RTX
);
/* Canonicalize sources and addresses of destinations.
...
...
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