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
a37739c1
Commit
a37739c1
authored
Nov 16, 2004
by
Kazu Hirata
Committed by
Kazu Hirata
Nov 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expmed.c, ra-colorize.c: Fix comment typos.
From-SVN: r90771
parent
d3f2f8ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/expmed.c
+1
-1
gcc/ra-colorize.c
+1
-1
No files found.
gcc/ChangeLog
View file @
a37739c1
2004
-
11
-
16
Kazu
Hirata
<
kazu
@
cs
.
umass
.
edu
>
*
expmed
.
c
,
ra
-
colorize
.
c
:
Fix
comment
typos
.
2004
-
11
-
16
Daniel
Jacobowitz
<
dan
@
codesourcery
.
com
>
2004
-
11
-
16
Daniel
Jacobowitz
<
dan
@
codesourcery
.
com
>
Mark
Mitchell
<
mark
@
codesourcery
.
com
>
Mark
Mitchell
<
mark
@
codesourcery
.
com
>
...
...
gcc/expmed.c
View file @
a37739c1
...
@@ -2555,7 +2555,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t,
...
@@ -2555,7 +2555,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t,
/* If the target has a cheap shift-and-add instruction use
/* If the target has a cheap shift-and-add instruction use
that in preference to a shift insn followed by an add insn.
that in preference to a shift insn followed by an add insn.
Assume that the shift-and-add is "atomic" with a latency
Assume that the shift-and-add is "atomic" with a latency
equal to it
'
s cost, otherwise assume that on superscalar
equal to its cost, otherwise assume that on superscalar
hardware the shift may be executed concurrently with the
hardware the shift may be executed concurrently with the
earlier steps in the algorithm. */
earlier steps in the algorithm. */
op_cost
=
add_cost
[
mode
]
+
shift_cost
[
mode
][
m
];
op_cost
=
add_cost
[
mode
]
+
shift_cost
[
mode
][
m
];
...
...
gcc/ra-colorize.c
View file @
a37739c1
...
@@ -1323,7 +1323,7 @@ colorize_one_web (struct web *web, int hard)
...
@@ -1323,7 +1323,7 @@ colorize_one_web (struct web *web, int hard)
usable_regs of this web (which is probably larger than that of
usable_regs of this web (which is probably larger than that of
the preferred or alternate class). All searches first try to
the preferred or alternate class). All searches first try to
find a non-call-clobbered hard-reg.
find a non-call-clobbered hard-reg.
XXX this should be more fine
gra
ned... First look into preferred
XXX this should be more fine
grai
ned... First look into preferred
non-callclobbered hardregs, then _if_ the web crosses calls, in
non-callclobbered hardregs, then _if_ the web crosses calls, in
alternate non-cc hardregs, and only _then_ also in preferred cc
alternate non-cc hardregs, and only _then_ also in preferred cc
hardregs (and alternate ones). Currently we don't track the number
hardregs (and alternate ones). Currently we don't track the number
...
...
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