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
2a4b5f3b
Commit
2a4b5f3b
authored
Feb 07, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r291
parent
67f2de41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
gcc/reload1.c
+20
-6
No files found.
gcc/reload1.c
View file @
2a4b5f3b
...
...
@@ -2163,9 +2163,16 @@ set_label_offsets (x, insn, initial_p)
else
if
(
x
==
insn
&&
(
tem
=
prev_nonnote_insn
(
insn
))
!=
0
&&
GET_CODE
(
tem
)
==
BARRIER
)
for
(
i
=
0
;
i
<
NUM_ELIMINABLE_REGS
;
i
++
)
reg_eliminate
[
i
].
offset
=
reg_eliminate
[
i
].
previous_offset
=
offsets_at
[
CODE_LABEL_NUMBER
(
x
)][
i
];
{
num_not_at_initial_offset
=
0
;
for
(
i
=
0
;
i
<
NUM_ELIMINABLE_REGS
;
i
++
)
{
reg_eliminate
[
i
].
offset
=
reg_eliminate
[
i
].
previous_offset
=
offsets_at
[
CODE_LABEL_NUMBER
(
x
)][
i
];
if
(
reg_eliminate
[
i
].
offset
!=
reg_eliminate
[
i
].
initial_offset
)
num_not_at_initial_offset
++
;
}
}
else
/* If neither of the above cases is true, compare each offset
...
...
@@ -3215,9 +3222,16 @@ reload_as_needed (first, live_known)
/* If we pass a label, copy the offsets from the label information
into the current offsets of each elimination. */
if
(
GET_CODE
(
insn
)
==
CODE_LABEL
)
for
(
i
=
0
;
i
<
NUM_ELIMINABLE_REGS
;
i
++
)
reg_eliminate
[
i
].
offset
=
reg_eliminate
[
i
].
previous_offset
=
offsets_at
[
CODE_LABEL_NUMBER
(
insn
)][
i
];
{
num_not_at_initial_offset
=
0
;
for
(
i
=
0
;
i
<
NUM_ELIMINABLE_REGS
;
i
++
)
{
reg_eliminate
[
i
].
offset
=
reg_eliminate
[
i
].
previous_offset
=
offsets_at
[
CODE_LABEL_NUMBER
(
insn
)][
i
];
if
(
reg_eliminate
[
i
].
offset
!=
reg_eliminate
[
i
].
initial_offset
)
num_not_at_initial_offset
++
;
}
}
else
if
(
GET_RTX_CLASS
(
GET_CODE
(
insn
))
==
'i'
)
{
...
...
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