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
af3869c1
Commit
af3869c1
authored
Aug 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(record_jump_cond): Don't do anything if OP0 and OP1 are already
equivalent. From-SVN: r7984
parent
b278301b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/cse.c
+7
-0
No files found.
gcc/cse.c
View file @
af3869c1
...
@@ -5805,6 +5805,13 @@ record_jump_cond (code, mode, op0, op1, reversed_nonequality)
...
@@ -5805,6 +5805,13 @@ record_jump_cond (code, mode, op0, op1, reversed_nonequality)
op0_elt
=
lookup
(
op0
,
op0_hash
,
mode
);
op0_elt
=
lookup
(
op0
,
op0_hash
,
mode
);
op1_elt
=
lookup
(
op1
,
op1_hash
,
mode
);
op1_elt
=
lookup
(
op1
,
op1_hash
,
mode
);
/* If both operands are already equivalent or if they are not in the
table but are identical, do nothing. */
if
((
op0_elt
!=
0
&&
op1_elt
!=
0
&&
op0_elt
->
first_same_value
==
op1_elt
->
first_same_value
)
||
op0
==
op1
||
rtx_equal_p
(
op0
,
op1
))
return
;
/* If we aren't setting two things equal all we can do is save this
/* If we aren't setting two things equal all we can do is save this
comparison. Similarly if this is floating-point. In the latter
comparison. Similarly if this is floating-point. In the latter
case, OP1 might be zero and both -0.0 and 0.0 are equal to it.
case, OP1 might be zero and both -0.0 and 0.0 are equal to it.
...
...
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