diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-22 22:55:58 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-22 22:55:58 +0000 |
commit | defa44174dca83ab2a5fcb4bf1cb324499021120 (patch) | |
tree | c61ed71e26a0e8eb1d753dc4d9c6150cda26fe90 /gcc/config/ia64 | |
parent | e20b0387dae527d6f470dc77f244c42fab8074b4 (diff) | |
download | gcc-defa44174dca83ab2a5fcb4bf1cb324499021120.tar.gz |
ia64: Use define_c_enum for unspec constants.
* config/ia64/ia64.md: Use define_e_enum for UNSPEC_*
and UNSPECV_* constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.md | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index 46eebc25ad8..df744e79d1f 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -48,61 +48,61 @@ ;; ??? Need a better way to describe alternate fp status registers. -(define_constants +(define_c_enum "unspec" [; Relocations - (UNSPEC_LTOFF_DTPMOD 0) - (UNSPEC_LTOFF_DTPREL 1) - (UNSPEC_DTPREL 2) - (UNSPEC_LTOFF_TPREL 3) - (UNSPEC_TPREL 4) - (UNSPEC_DTPMOD 5) - - (UNSPEC_LD_BASE 9) - (UNSPEC_GR_SPILL 10) - (UNSPEC_GR_RESTORE 11) - (UNSPEC_FR_SPILL 12) - (UNSPEC_FR_RESTORE 13) - (UNSPEC_FR_RECIP_APPROX 14) - (UNSPEC_PRED_REL_MUTEX 15) - (UNSPEC_GETF_EXP 16) - (UNSPEC_PIC_CALL 17) - (UNSPEC_MF 18) - (UNSPEC_CMPXCHG_ACQ 19) - (UNSPEC_FETCHADD_ACQ 20) - (UNSPEC_BSP_VALUE 21) - (UNSPEC_FLUSHRS 22) - (UNSPEC_BUNDLE_SELECTOR 23) - (UNSPEC_ADDP4 24) - (UNSPEC_PROLOGUE_USE 25) - (UNSPEC_RET_ADDR 26) - (UNSPEC_SETF_EXP 27) - (UNSPEC_FR_SQRT_RECIP_APPROX 28) - (UNSPEC_SHRP 29) - (UNSPEC_COPYSIGN 30) - (UNSPEC_VECT_EXTR 31) - (UNSPEC_LDA 40) - (UNSPEC_LDS 41) - (UNSPEC_LDS_A 42) - (UNSPEC_LDSA 43) - (UNSPEC_LDCCLR 44) - (UNSPEC_LDCNC 45) - (UNSPEC_CHKACLR 46) - (UNSPEC_CHKANC 47) - (UNSPEC_CHKS 48) - (UNSPEC_FR_RECIP_APPROX_RES 49) - (UNSPEC_FR_SQRT_RECIP_APPROX_RES 50) + UNSPEC_LTOFF_DTPMOD + UNSPEC_LTOFF_DTPREL + UNSPEC_DTPREL + UNSPEC_LTOFF_TPREL + UNSPEC_TPREL + UNSPEC_DTPMOD + + UNSPEC_LD_BASE + UNSPEC_GR_SPILL + UNSPEC_GR_RESTORE + UNSPEC_FR_SPILL + UNSPEC_FR_RESTORE + UNSPEC_FR_RECIP_APPROX + UNSPEC_PRED_REL_MUTEX + UNSPEC_GETF_EXP + UNSPEC_PIC_CALL + UNSPEC_MF + UNSPEC_CMPXCHG_ACQ + UNSPEC_FETCHADD_ACQ + UNSPEC_BSP_VALUE + UNSPEC_FLUSHRS + UNSPEC_BUNDLE_SELECTOR + UNSPEC_ADDP4 + UNSPEC_PROLOGUE_USE + UNSPEC_RET_ADDR + UNSPEC_SETF_EXP + UNSPEC_FR_SQRT_RECIP_APPROX + UNSPEC_SHRP + UNSPEC_COPYSIGN + UNSPEC_VECT_EXTR + UNSPEC_LDA + UNSPEC_LDS + UNSPEC_LDS_A + UNSPEC_LDSA + UNSPEC_LDCCLR + UNSPEC_LDCNC + UNSPEC_CHKACLR + UNSPEC_CHKANC + UNSPEC_CHKS + UNSPEC_FR_RECIP_APPROX_RES + UNSPEC_FR_SQRT_RECIP_APPROX_RES ]) -(define_constants - [(UNSPECV_ALLOC 0) - (UNSPECV_BLOCKAGE 1) - (UNSPECV_INSN_GROUP_BARRIER 2) - (UNSPECV_BREAK 3) - (UNSPECV_SET_BSP 4) - (UNSPECV_PSAC_ALL 5) ; pred.safe_across_calls - (UNSPECV_PSAC_NORMAL 6) - (UNSPECV_SETJMP_RECEIVER 7) - (UNSPECV_GOTO_RECEIVER 8) +(define_c_enum "unspecv" [ + UNSPECV_ALLOC + UNSPECV_BLOCKAGE + UNSPECV_INSN_GROUP_BARRIER + UNSPECV_BREAK + UNSPECV_SET_BSP + UNSPECV_PSAC_ALL ; pred.safe_across_calls + UNSPECV_PSAC_NORMAL + UNSPECV_SETJMP_RECEIVER + UNSPECV_GOTO_RECEIVER ]) (include "predicates.md") |