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
05c33dd8
Commit
05c33dd8
authored
May 29, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1120
parent
1b43e280
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
gcc/cse.c
+6
-3
No files found.
gcc/cse.c
View file @
05c33dd8
...
...
@@ -5754,7 +5754,7 @@ cse_insn (insn, in_libcall_block)
possibilities. Prefer items not in the hash table to ones
that are when they are equal cost. Note that we can never
worsen an insn as the current contents will also succeed.
If we find an equivalent identical to the
source
, use it as best,
If we find an equivalent identical to the
destination
, use it as best,
since this insn will probably be eliminated in that case. */
if
(
src
)
{
...
...
@@ -5829,7 +5829,7 @@ cse_insn (insn, in_libcall_block)
trial
=
src_related
,
src_related_cost
=
10000
;
else
{
trial
=
c
anon_reg
(
copy_rtx
(
elt
->
exp
),
0
);
trial
=
c
opy_rtx
(
elt
->
exp
);
elt
=
elt
->
next_same_value
;
src_elt_cost
=
10000
;
}
...
...
@@ -5866,7 +5866,10 @@ cse_insn (insn, in_libcall_block)
/* Look for a substitution that makes a valid insn. */
else
if
(
validate_change
(
insn
,
&
SET_SRC
(
sets
[
i
].
rtl
),
trial
,
0
))
break
;
{
SET_SRC
(
sets
[
i
].
rtl
)
=
canon_reg
(
SET_SRC
(
sets
[
i
].
rtl
),
insn
);
break
;
}
/* If we previously found constant pool entries for
constants and this is a constant, try making a
...
...
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