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
a7c07f1e
Commit
a7c07f1e
authored
Jul 17, 2001
by
Richard Henderson
Committed by
Richard Henderson
Jul 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
From-SVN: r44096
parent
3affaf29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
gcc/ChangeLog
+4
-0
gcc/reload.c
+12
-5
No files found.
gcc/ChangeLog
View file @
a7c07f1e
2001-07-17 Richard Henderson <rth@redhat.com>
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
2001-07-17 Richard Henderson <rth@redhat.com>
* calls.c (prepare_call_address): New parameter SIBCALLP. If true,
don't force the function address into a register.
(expand_call, emit_library_call_value_1): Update callers.
...
...
gcc/reload.c
View file @
a7c07f1e
...
...
@@ -372,11 +372,18 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
in operand 1. Outputs should have an initial "=", which we must
skip. */
char
insn_letter
=
insn_data
[(
int
)
icode
].
operand
[
!
in_p
].
constraint
[
in_p
];
enum
reg_class
insn_class
=
(
insn_letter
==
'r'
?
GENERAL_REGS
:
REG_CLASS_FROM_LETTER
((
unsigned
char
)
insn_letter
));
enum
reg_class
insn_class
;
if
(
insn_data
[(
int
)
icode
].
operand
[
!
in_p
].
constraint
[
0
]
==
0
)
insn_class
=
ALL_REGS
;
else
{
char
insn_letter
=
insn_data
[(
int
)
icode
].
operand
[
!
in_p
].
constraint
[
in_p
];
insn_class
=
(
insn_letter
==
'r'
?
GENERAL_REGS
:
REG_CLASS_FROM_LETTER
((
unsigned
char
)
insn_letter
));
}
if
(
insn_class
==
NO_REGS
||
(
in_p
...
...
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