Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ppe42-gcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenPOWER Firmware
ppe42-gcc
Commits
0081fa34
Commit
0081fa34
authored
Mar 24, 2015
by
Doug Gilbert
Committed by
Patrick Williams
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack1
parent
c1283af4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
900 additions
and
890 deletions
+900
-890
gcc/config/rs6000/rs6000-cpus.def
gcc/config/rs6000/rs6000-cpus.def
+1
-1
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.c
+75
-67
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.h
+12
-12
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/rs6000.md
+812
-810
No files found.
gcc/config/rs6000/rs6000-cpus.def
View file @
0081fa34
...
...
@@ -115,7 +115,7 @@
RS6000_CPU ("401", PROCESSOR_PPC403, MASK_SOFT_FLOAT)
RS6000_CPU ("403", PROCESSOR_PPC403, MASK_SOFT_FLOAT | MASK_STRICT_ALIGN)
RS6000_CPU ("405", PROCESSOR_PPC405, MASK_SOFT_FLOAT
| MASK_MULHW | MASK_DLMZB
)
RS6000_CPU ("405", PROCESSOR_PPC405, MASK_SOFT_FLOAT)
RS6000_CPU ("405fp", PROCESSOR_PPC405, MASK_MULHW | MASK_DLMZB)
RS6000_CPU ("440", PROCESSOR_PPC440, MASK_SOFT_FLOAT | MASK_MULHW | MASK_DLMZB)
RS6000_CPU ("440fp", PROCESSOR_PPC440, MASK_MULHW | MASK_DLMZB)
...
...
gcc/config/rs6000/rs6000.c
View file @
0081fa34
This diff is collapsed.
Click to expand it.
gcc/config/rs6000/rs6000.h
View file @
0081fa34
...
...
@@ -982,10 +982,10 @@ enum data_align { align_abi, align_opt, align_both };
cr5 is not supposed to be used.
On System V implementations, r13 is fixed and not available for use. */
/* TODO Maybe make R2 available on PPE */
#define FIXED_REGISTERS \
{0, 1, FIXED_R2, 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, 1, FIXED_R2, 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, FIXED_R13, 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, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, \
...
...
@@ -1007,8 +1007,8 @@ enum data_align { align_abi, align_opt, align_both };
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, 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, FIXED_R13,
1, 1
, \
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
, 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, \
1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, \
...
...
@@ -1029,8 +1029,8 @@ enum data_align { align_abi, align_opt, align_both };
of `CALL_USED_REGISTERS'. */
#define CALL_REALLY_USED_REGISTERS \
{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, FIXED_R13,
1, 1
, \
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
, 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, \
1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, \
...
...
@@ -1109,12 +1109,12 @@ enum data_align { align_abi, align_opt, align_both };
33, \
63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, \
50, 49, 48, 47, 46, \
75, 74, 69, 68, 72, 71, 70
, \
68
, \
MAYBE_R2_AVAILABLE \
9, 10, 8, 7, 6, 5, 4, \
3, EARLY_R12
11,
0, \
31, 30, 29, 28,
27, 26, 25, 24, 23, 22, 21, 20, 19,
\
1
8, 17, 16, 15, 14, 1
3, LATE_R12 \
3, EARLY_R12 0, \
31, 30, 29, 28, \
13, LATE_R12 \
66, 65, \
73, 1, MAYBE_R2_FIXED 67, 76, \
/* AltiVec registers. */
\
...
...
@@ -1305,7 +1305,7 @@ enum data_align { align_abi, align_opt, align_both };
#define ARG_POINTER_REGNUM 67
/* Place to put static chain when calling a function that requires it. */
#define STATIC_CHAIN_REGNUM 1
1
#define STATIC_CHAIN_REGNUM 1
0
/* Define the classes of registers for register constraints in the
...
...
gcc/config/rs6000/rs6000.md
View file @
0081fa34
This diff is collapsed.
Click to expand it.
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