diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-01 12:08:51 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-01 12:08:51 +0000 |
commit | 247d6784e536a7d0053dd35d16a13eb28947588b (patch) | |
tree | 210c4d24581135a0ad4ac80a4247d40ea320026f /gcc/config/stormy16/stormy16-protos.h | |
parent | 89ce0d409b9bf0817f448dc33dace7a33078af1a (diff) | |
download | gcc-247d6784e536a7d0053dd35d16a13eb28947588b.tar.gz |
* config/stormy16/stormy16.md (CARRY_REG): New constant.
Replace uses of the "y" register class with direct references to
the CARRY_REG register.
* config/stormy16/stormy16.c: Replace clobbers of a BImode scratch
register with clobbers of the carry register.
(xstormy16_secondary_reload_class): Do not return CARRY_REGS.
(xstormy16_split_cbranch): Remove redundant carry parameter.
(xstormy16_expand_arith): Likewise.
* config/stormy16/stormy16.h (enum reg_class): Remove CARRY_REGS.
(IRA_COVER_CLASSES, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
(CARRY_REGNUM): Define.
* config/stormy16/stormy16-protos.h (xstormy16_split_cbranch):
Update prototype.
(xstormy16_expand_arith): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142309 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/stormy16/stormy16-protos.h')
-rw-r--r-- | gcc/config/stormy16/stormy16-protos.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/stormy16/stormy16-protos.h b/gcc/config/stormy16/stormy16-protos.h index fa39455cbaa..ff9f4d484a5 100644 --- a/gcc/config/stormy16/stormy16-protos.h +++ b/gcc/config/stormy16/stormy16-protos.h @@ -64,7 +64,7 @@ extern void xstormy16_expand_andqi3 (rtx *); #endif #if defined (HAVE_MACHINE_MODES) && defined (RTX_CODE) -extern void xstormy16_split_cbranch (enum machine_mode, rtx, rtx, rtx, rtx); +extern void xstormy16_split_cbranch (enum machine_mode, rtx, rtx, rtx); extern int short_memory_operand (rtx, enum machine_mode); extern int nonimmediate_nonstack_operand (rtx, enum machine_mode); extern enum reg_class xstormy16_secondary_reload_class @@ -74,7 +74,7 @@ extern int xstormy16_legitimate_address_p (enum machine_mode, rtx, int); extern void xstormy16_split_move (enum machine_mode, rtx, rtx); extern void xstormy16_expand_move (enum machine_mode, rtx, rtx); extern void xstormy16_expand_arith (enum machine_mode, enum rtx_code, - rtx, rtx, rtx, rtx); + rtx, rtx, rtx); extern const char * xstormy16_output_shift (enum machine_mode, enum rtx_code, rtx, rtx, rtx); extern int xstormy16_below100_symbol (rtx, enum machine_mode); |