OSDN Git Service

* config/stormy16/stormy16.md (CARRY_REG): New constant.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2008 12:08:51 +0000 (12:08 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2008 12:08:51 +0000 (12:08 +0000)
commit247d6784e536a7d0053dd35d16a13eb28947588b
tree210c4d24581135a0ad4ac80a4247d40ea320026f
parent89ce0d409b9bf0817f448dc33dace7a33078af1a
* 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
gcc/ChangeLog
gcc/config/stormy16/stormy16-protos.h
gcc/config/stormy16/stormy16.c
gcc/config/stormy16/stormy16.h
gcc/config/stormy16/stormy16.md