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
67e61fe7
Commit
67e61fe7
authored
Oct 26, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Oct 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small reload cleanups
From-SVN: r30193
parent
35f86a50
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
gcc/ChangeLog
+13
-0
gcc/reload.c
+12
-0
gcc/reload1.c
+0
-0
No files found.
gcc/ChangeLog
View file @
67e61fe7
Tue
Oct
26
15
:
42
:
56
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
reload
.
c
(
find_reloads
)
:
Compute
mode
and
nregs
fields
of
all
reloads
.
*
reload1
.
c
(
calculate_needs_all_insns
)
:
Simplify
a
bit
.
(
calculate_needs
)
:
Use
precomputed
mode
/
nregs
values
.
(
allocate_reload_reg
)
:
Likewise
.
Break
out
two
...
(
failed_reload
,
set_reload_reg
)
:
...
new
functions
.
(
choose_reload_regs_init
)
:
New
function
,
mostly
broken
out
from
...
(
choose_reload_regs
)
:
...
here
.
Lose
all
the
save_xxx
nonsense
.
Also
lose
one
#
if
0
block
.
Tue
Oct
26
02
:
48
:
32
1999
Marc
Espie
<
espie
@cvs
.
openbsd
.
org
>
*
Makefile
.
in
(
AR_FOR_TARGET
,
RANLIB_FOR_TARGET
)
:
Fix
target
name
...
...
gcc/reload.c
View file @
67e61fe7
...
...
@@ -4174,6 +4174,18 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
}
}
/* Compute reload_mode and reload_nregs. */
for
(
i
=
0
;
i
<
n_reloads
;
i
++
)
{
rld
[
i
].
mode
=
(
rld
[
i
].
inmode
==
VOIDmode
||
(
GET_MODE_SIZE
(
rld
[
i
].
outmode
)
>
GET_MODE_SIZE
(
rld
[
i
].
inmode
)))
?
rld
[
i
].
outmode
:
rld
[
i
].
inmode
;
rld
[
i
].
nregs
=
CLASS_MAX_NREGS
(
rld
[
i
].
class
,
rld
[
i
].
mode
);
}
return
retval
;
}
...
...
gcc/reload1.c
View file @
67e61fe7
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