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
9233f8ce
Commit
9233f8ce
authored
Sep 03, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(insert_save_restore): Correct test for
determining whether multiple registers can be saved. From-SVN: r2042
parent
960e4c1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/caller-save.c
+3
-3
No files found.
gcc/caller-save.c
View file @
9233f8ce
...
@@ -686,9 +686,9 @@ insert_save_restore (insn, save_p, regno, insn_mode, maxrestore)
...
@@ -686,9 +686,9 @@ insert_save_restore (insn, save_p, regno, insn_mode, maxrestore)
if
(
regno_save_mem
[
regno
][
i
]
!=
0
)
if
(
regno_save_mem
[
regno
][
i
]
!=
0
)
for
(
j
=
0
;
j
<
i
;
j
++
)
for
(
j
=
0
;
j
<
i
;
j
++
)
{
{
if
(
!
call_used_regs
[
regno
+
j
]
&&
call_fixed_regs
[
regno
+
j
]
if
(
!
call_used_regs
[
regno
+
j
]
||
call_fixed_regs
[
regno
+
j
]
&&
!
TEST_HARD_REG_BIT
(
hard_regs_live
,
regno
+
j
)
||
!
TEST_HARD_REG_BIT
(
hard_regs_live
,
regno
+
j
)
&&
TEST_HARD_REG_BIT
(
hard_regs_saved
,
regno
+
j
))
||
TEST_HARD_REG_BIT
(
hard_regs_saved
,
regno
+
j
))
ok
=
0
;
ok
=
0
;
}
}
else
else
...
...
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