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
a127c4e5
Commit
a127c4e5
authored
Jun 01, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FIXED_R13): Default to 0.
({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. From-SVN: r9863
parent
06bb02f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/config/rs6000/rs6000.h
+9
-3
No files found.
gcc/config/rs6000/rs6000.h
View file @
a127c4e5
...
...
@@ -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, \
...
...
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