stormy16.md (CARRY_REG): New constant.
authorNick Clifton <nickc@redhat.com>
Mon, 1 Dec 2008 12:08:51 +0000 (12:08 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 1 Dec 2008 12:08:51 +0000 (12:08 +0000)
commitd40ba0b60d7c55a72392d27f2a0cf142d37a9a3e
tree210c4d24581135a0ad4ac80a4247d40ea320026f
parente8ddcbf9c9ccb37a62a542e07c92540180d6d7c6
stormy16.md (CARRY_REG): New constant.

* 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.

From-SVN: r142309
gcc/ChangeLog
gcc/config/stormy16/stormy16-protos.h
gcc/config/stormy16/stormy16.c
gcc/config/stormy16/stormy16.h
gcc/config/stormy16/stormy16.md