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
05bd3d41
Commit
05bd3d41
authored
24 years ago
by
Richard Kenner
Committed by
Richard Kenner
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (find_best_addr): Fix typo in computing cost.
From-SVN: r39490
parent
d1405722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/cse.c
+1
-1
No files found.
gcc/ChangeLog
View file @
05bd3d41
Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* cse.c (find_best_addr): Fix typo in computing cost.
Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
...
...
This diff is collapsed.
Click to expand it.
gcc/cse.c
View file @
05bd3d41
...
...
@@ -2975,7 +2975,7 @@ find_best_addr (insn, loc, mode)
||
exp_equiv_p
(
p
->
exp
,
p
->
exp
,
1
,
0
))
&&
((
exp_cost
=
address_cost
(
p
->
exp
,
mode
))
<
best_addr_cost
||
(
exp_cost
==
best_addr_cost
&&
(
p
->
cost
+
1
)
>>
1
<
best_rtx_cost
)))
&&
(
(
p
->
cost
+
1
)
>>
1
)
>
best_rtx_cost
)))
{
found_better
=
1
;
best_addr_cost
=
exp_cost
;
...
...
This diff is collapsed.
Click to expand 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