Commit d45a0b2b by Oleg Raikhman Committed by Joern Rennecke

epiphany.h (FIXED_REGISTERS, [...]): Make r40..r43 call-used.

        * config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS):
        Make r40..r43 call-used.
        (REG_ALLOC_ORDER): Sort r40..r43 into the call-used registers.

From-SVN: r193921
parent d9b83a68
2012-11-29 Oleg Raikhman <oleg@adapteva.com>
* config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS):
Make r40..r43 call-used.
(REG_ALLOC_ORDER): Sort r40..r43 into the call-used registers.
2012-11-29 Joern Rennecke <joern.rennecke@embecosm.com> 2012-11-29 Joern Rennecke <joern.rennecke@embecosm.com>
* config/epiphany/predicates.md (addsub_operator): New predicate. * config/epiphany/predicates.md (addsub_operator): New predicate.
...@@ -241,7 +241,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -241,7 +241,7 @@ along with GCC; see the file COPYING3. If not see
0, 0, 0, 0, 0, 0, 0, 0, /* 016-023, gr16 - gr23 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 016-023, gr16 - gr23 */ \
0, 0, 0, 0, 1, 1, 1, 1, /* 024-031, gr24 - gr31 */ \ 0, 0, 0, 0, 1, 1, 1, 1, /* 024-031, gr24 - gr31 */ \
0, 0, 0, 0, 0, 0, 0, 0, /* 032-039, gr32 - gr39 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 032-039, gr32 - gr39 */ \
1, 1, 1, 1, 0, 0, 0, 0, /* 040-047, gr40 - gr47 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 040-047, gr40 - gr47 */ \
0, 0, 0, 0, 0, 0, 0, 0, /* 048-055, gr48 - gr55 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 048-055, gr48 - gr55 */ \
0, 0, 0, 0, 0, 0, 0, 0, /* 056-063, gr56 - gr63 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 056-063, gr56 - gr63 */ \
/* Other registers */ \ /* Other registers */ \
...@@ -270,7 +270,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -270,7 +270,7 @@ along with GCC; see the file COPYING3. If not see
1, 1, 1, 1, 1, 1, 1, 1, /* 016-023, gr16 - gr23 */ \ 1, 1, 1, 1, 1, 1, 1, 1, /* 016-023, gr16 - gr23 */ \
1, 1, 1, 1, 1, 1, 1, 1, /* 024-031, gr24 - gr31 */ \ 1, 1, 1, 1, 1, 1, 1, 1, /* 024-031, gr24 - gr31 */ \
0, 0, 0, 0, 0, 0, 0, 0, /* 032-039, gr32 - gr38 */ \ 0, 0, 0, 0, 0, 0, 0, 0, /* 032-039, gr32 - gr38 */ \
1, 1, 1, 1, 1, 1, 1, 1, /* 040-047, gr40 - gr47 */ \ 0, 0, 0, 0, 1, 1, 1, 1, /* 040-047, gr40 - gr47 */ \
1, 1, 1, 1, 1, 1, 1, 1, /* 048-055, gr48 - gr55 */ \ 1, 1, 1, 1, 1, 1, 1, 1, /* 048-055, gr48 - gr55 */ \
1, 1, 1, 1, 1, 1, 1, 1, /* 056-063, gr56 - gr63 */ \ 1, 1, 1, 1, 1, 1, 1, 1, /* 056-063, gr56 - gr63 */ \
1, /* 64 AP - fake arg ptr */ \ 1, /* 64 AP - fake arg ptr */ \
...@@ -294,9 +294,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -294,9 +294,8 @@ along with GCC; see the file COPYING3. If not see
4, 5, 6, 7, /* Calle-saved 'small' registers. */ \ 4, 5, 6, 7, /* Calle-saved 'small' registers. */ \
15, /* Calle-saved unpaired register. */ \ 15, /* Calle-saved unpaired register. */ \
8, 9, 10, 11, /* Calle-saved registers. */ \ 8, 9, 10, 11, /* Calle-saved registers. */ \
32, 33, 34, 35, 36, 37, 38, 39, \ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, \
14, 13, /* Link register, stack pointer. */ \ 14, 13, /* Link register, stack pointer. */ \
40, 41, 42, 43, /* Usually constant, but might be made callee-saved. */ \
/* Can't allocate, but must name these... */ \ /* Can't allocate, but must name these... */ \
28, 29, 30, 31, \ 28, 29, 30, 31, \
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 \ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment