From: Oleg Raikhman Date: Thu, 29 Nov 2012 03:05:23 +0000 (+0000) Subject: epiphany.h (FIXED_REGISTERS, [...]): Make r40..r43 call-used. X-Git-Tag: releases/gcc-4.8.0~1706 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d45a0b2b5ad3a77870a202902e0c84e76f88ce17;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0aa5d30009d2..9f87c745ec5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-11-29 Oleg Raikhman + + * 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 * config/epiphany/predicates.md (addsub_operator): New predicate. diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h index 8c3b1aec21dd..609030cfbe08 100644 --- a/gcc/config/epiphany/epiphany.h +++ b/gcc/config/epiphany/epiphany.h @@ -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, 1, 1, 1, 1, /* 024-031, gr24 - gr31 */ \ 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, /* 056-063, gr56 - gr63 */ \ /* Other registers */ \ @@ -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, /* 024-031, gr24 - gr31 */ \ 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, /* 056-063, gr56 - gr63 */ \ 1, /* 64 AP - fake arg ptr */ \ @@ -294,9 +294,8 @@ along with GCC; see the file COPYING3. If not see 4, 5, 6, 7, /* Calle-saved 'small' registers. */ \ 15, /* Calle-saved unpaired register. */ \ 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. */ \ - 40, 41, 42, 43, /* Usually constant, but might be made callee-saved. */ \ /* Can't allocate, but must name these... */ \ 28, 29, 30, 31, \ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 \