mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-17 18:00:55 +08:00
(FIXED_R13): Default to 0.
({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. From-SVN: r9863
This commit is contained in:
parent
06bb02f78e
commit
a127c4e57b
@ -453,10 +453,16 @@ extern char *rs6000_cpu_string;
|
||||
|
||||
On RS/6000, r1 is used for the stack and r2 is used as the TOC pointer.
|
||||
|
||||
cr5 is not supposed to be used. */
|
||||
cr5 is not supposed to be used.
|
||||
|
||||
On System V implementations, r13 is fixed and not available for use. */
|
||||
|
||||
#ifndef FIXED_R13
|
||||
#define FIXED_R13 0
|
||||
#endif
|
||||
|
||||
#define FIXED_REGISTERS \
|
||||
{0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
{0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, FIXED_R13, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
@ -470,7 +476,7 @@ extern char *rs6000_cpu_string;
|
||||
Aside from that, you can include as many other registers as you like. */
|
||||
|
||||
#define CALL_USED_REGISTERS \
|
||||
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, \
|
||||
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, FIXED_R13, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user