OSDN Git Service

Use a macro instead of a constant to test for sparc integer regnos.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 21:50:56 +0000 (21:50 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 21:50:56 +0000 (21:50 +0000)
commit308d5709c3a9965b7cc7c17c7d5ac81c59f0d3a1
treeec7972f920b9997fc298d272d22bae34b1efa531
parent12970e9a97338c7b4a4f16667f5efc994b20360d
Use a macro instead of a constant to test for sparc integer regnos.

* config/sparc/sparc.h (SPARC_FIRST_INT_REG, SPARC_LAST_INT_REG,
SPARC_INT_REG_P): Define.
(HARD_REGNO_NREGS): Use SPARC_INT_REG_P.
(REGNO_OK_FOR_INDEX_P): Likewise.
* config/sparc/sparc.c (gen_df_reg): Likewise.
(eligible_for_return_delay): Likewise.
(eligible_for_sibcall_delay): Likewise.
(sparc_legitimate_address_p): Likewise.
(emit_save_or_restore_regs): Likewise.
(registers_ok_for_ldd_peep): Likewise.
* config/spac/sparc.md (DI mode splitters): Likewise.
(SF mode const splitters): Likewise.
(DF mode splitters): Likewise.
(32-bit DI mode logical op splitters): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180350 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md