m68k.h (FRAME_POINTER_REGNUM): Use A6_REG instead.
* config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG instead. (M68K_REGNAME): Use A6_REG. * config/m68k/m68k.md (FP_REG): Rename to A6_REG. From-SVN: r123878
This commit is contained in:
parent
8d989403d6
commit
de41203b65
@ -3,6 +3,11 @@
|
||||
* config/m68k/m68k.c (m68k_libcall_value,
|
||||
m68k_function_value): Use macros for register names more.
|
||||
|
||||
* config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG
|
||||
instead.
|
||||
(M68K_REGNAME): Use A6_REG.
|
||||
* config/m68k/m68k.md (FP_REG): Rename to A6_REG.
|
||||
|
||||
2007-04-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
|
||||
|
||||
PR middle-end/28071
|
||||
|
@ -430,7 +430,7 @@ Boston, MA 02110-1301, USA. */
|
||||
/* Most m68k targets use %a6 as a frame pointer. The AmigaOS
|
||||
ABI uses %a6 for shared library calls, therefore the frame
|
||||
pointer is shifted to %a5 on this target. */
|
||||
#define FRAME_POINTER_REGNUM FP_REG
|
||||
#define FRAME_POINTER_REGNUM A6_REG
|
||||
|
||||
#define FRAME_POINTER_REQUIRED 0
|
||||
|
||||
@ -933,7 +933,7 @@ do { if (cc_prev_status.flags & CC_IN_68881) \
|
||||
We don't replace %fp for targets that don't map it to %a6
|
||||
since it may confuse GAS. */
|
||||
#define M68K_REGNAME(r) ( \
|
||||
((FRAME_POINTER_REGNUM == 14) \
|
||||
((FRAME_POINTER_REGNUM == A6_REG) \
|
||||
&& ((r) == FRAME_POINTER_REGNUM) \
|
||||
&& frame_pointer_needed) ? \
|
||||
M68K_FP_REG_NAME : reg_names[(r)])
|
||||
|
@ -129,7 +129,7 @@
|
||||
(A0_REG 8)
|
||||
(A1_REG 9)
|
||||
(PIC_REG 13)
|
||||
(FP_REG 14)
|
||||
(A6_REG 14)
|
||||
(SP_REG 15)
|
||||
(FP0_REG 16)
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user