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
224f1d71
Commit
224f1d71
authored
Jun 16, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reload_reg_free_p, case RELOAD_OTHER): Allowed to conflict with
RELOAD_FOR_OTHER_ADDRESS. From-SVN: r7505
parent
787e63c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
gcc/reload1.c
+15
-3
No files found.
gcc/reload1.c
View file @
224f1d71
...
...
@@ -4156,10 +4156,22 @@ reload_reg_free_p (regno, opnum, type)
switch
(
type
)
{
case
RELOAD_OTHER
:
/* In use for anything means not available for a RELOAD_OTHER. */
return
!
TEST_HARD_REG_BIT
(
reload_reg_used_at_all
,
regno
);
/* In use for anything except RELOAD_FOR_OTHER_ADDRESS means
we can't use it for RELOAD_OTHER. */
if
(
TEST_HARD_REG_BIT
(
reload_reg_used
,
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_op_addr
,
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_insn
,
regno
))
return
0
;
for
(
i
=
0
;
i
<
reload_n_operands
;
i
++
)
if
(
TEST_HARD_REG_BIT
(
reload_reg_used_in_input_addr
[
i
],
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_output_addr
[
i
],
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_input
[
i
],
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_output
[
i
],
regno
))
return
0
;
return
1
;
/* The other kinds of use can sometimes share a register. */
case
RELOAD_FOR_INPUT
:
if
(
TEST_HARD_REG_BIT
(
reload_reg_used_in_insn
,
regno
)
||
TEST_HARD_REG_BIT
(
reload_reg_used_in_op_addr
,
regno
))
...
...
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