mirror of git://gcc.gnu.org/git/gcc.git
sparc.md: Use define_c_enum for "unspec" and "unspecv".
* config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". From-SVN: r197639
This commit is contained in:
parent
75ef8e3d28
commit
48eecbeeb8
|
|
@ -1,3 +1,7 @@
|
||||||
|
2013-04-09 Steven Bosscher <steven@gcc.gnu.org>
|
||||||
|
|
||||||
|
* config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv".
|
||||||
|
|
||||||
2013-04-09 Marek Polacek <polacek@redhat.com>
|
2013-04-09 Marek Polacek <polacek@redhat.com>
|
||||||
|
|
||||||
PR tree-optimization/48762
|
PR tree-optimization/48762
|
||||||
|
|
|
||||||
|
|
@ -22,88 +22,88 @@
|
||||||
|
|
||||||
;;- See file "rtl.def" for documentation on define_insn, match_*, et. al.
|
;;- See file "rtl.def" for documentation on define_insn, match_*, et. al.
|
||||||
|
|
||||||
(define_constants
|
(define_c_enum "unspec" [
|
||||||
[(UNSPEC_MOVE_PIC 0)
|
UNSPEC_MOVE_PIC
|
||||||
(UNSPEC_UPDATE_RETURN 1)
|
UNSPEC_UPDATE_RETURN
|
||||||
(UNSPEC_LOAD_PCREL_SYM 2)
|
UNSPEC_LOAD_PCREL_SYM
|
||||||
(UNSPEC_FRAME_BLOCKAGE 3)
|
UNSPEC_FRAME_BLOCKAGE
|
||||||
(UNSPEC_MOVE_PIC_LABEL 5)
|
UNSPEC_MOVE_PIC_LABEL
|
||||||
(UNSPEC_SETH44 6)
|
UNSPEC_SETH44
|
||||||
(UNSPEC_SETM44 7)
|
UNSPEC_SETM44
|
||||||
(UNSPEC_SETHH 9)
|
UNSPEC_SETHH
|
||||||
(UNSPEC_SETLM 10)
|
UNSPEC_SETLM
|
||||||
(UNSPEC_EMB_HISUM 11)
|
UNSPEC_EMB_HISUM
|
||||||
(UNSPEC_EMB_TEXTUHI 13)
|
UNSPEC_EMB_TEXTUHI
|
||||||
(UNSPEC_EMB_TEXTHI 14)
|
UNSPEC_EMB_TEXTHI
|
||||||
(UNSPEC_EMB_TEXTULO 15)
|
UNSPEC_EMB_TEXTULO
|
||||||
(UNSPEC_EMB_SETHM 18)
|
UNSPEC_EMB_SETHM
|
||||||
(UNSPEC_MOVE_GOTDATA 19)
|
UNSPEC_MOVE_GOTDATA
|
||||||
|
|
||||||
(UNSPEC_MEMBAR 20)
|
UNSPEC_MEMBAR
|
||||||
(UNSPEC_ATOMIC 21)
|
UNSPEC_ATOMIC
|
||||||
|
|
||||||
(UNSPEC_TLSGD 30)
|
UNSPEC_TLSGD
|
||||||
(UNSPEC_TLSLDM 31)
|
UNSPEC_TLSLDM
|
||||||
(UNSPEC_TLSLDO 32)
|
UNSPEC_TLSLDO
|
||||||
(UNSPEC_TLSIE 33)
|
UNSPEC_TLSIE
|
||||||
(UNSPEC_TLSLE 34)
|
UNSPEC_TLSLE
|
||||||
(UNSPEC_TLSLD_BASE 35)
|
UNSPEC_TLSLD_BASE
|
||||||
|
|
||||||
(UNSPEC_FPACK16 40)
|
UNSPEC_FPACK16
|
||||||
(UNSPEC_FPACK32 41)
|
UNSPEC_FPACK32
|
||||||
(UNSPEC_FPACKFIX 42)
|
UNSPEC_FPACKFIX
|
||||||
(UNSPEC_FEXPAND 43)
|
UNSPEC_FEXPAND
|
||||||
(UNSPEC_MUL16AU 44)
|
UNSPEC_MUL16AU
|
||||||
(UNSPEC_MUL16AL 45)
|
UNSPEC_MUL16AL
|
||||||
(UNSPEC_MUL8UL 46)
|
UNSPEC_MUL8UL
|
||||||
(UNSPEC_MULDUL 47)
|
UNSPEC_MULDUL
|
||||||
(UNSPEC_ALIGNDATA 48)
|
UNSPEC_ALIGNDATA
|
||||||
(UNSPEC_FCMP 49)
|
UNSPEC_FCMP
|
||||||
(UNSPEC_PDIST 50)
|
UNSPEC_PDIST
|
||||||
(UNSPEC_EDGE8 51)
|
UNSPEC_EDGE8
|
||||||
(UNSPEC_EDGE8L 52)
|
UNSPEC_EDGE8L
|
||||||
(UNSPEC_EDGE16 53)
|
UNSPEC_EDGE16
|
||||||
(UNSPEC_EDGE16L 54)
|
UNSPEC_EDGE16L
|
||||||
(UNSPEC_EDGE32 55)
|
UNSPEC_EDGE32
|
||||||
(UNSPEC_EDGE32L 56)
|
UNSPEC_EDGE32L
|
||||||
(UNSPEC_ARRAY8 57)
|
UNSPEC_ARRAY8
|
||||||
(UNSPEC_ARRAY16 58)
|
UNSPEC_ARRAY16
|
||||||
(UNSPEC_ARRAY32 59)
|
UNSPEC_ARRAY32
|
||||||
|
|
||||||
(UNSPEC_SP_SET 60)
|
UNSPEC_SP_SET
|
||||||
(UNSPEC_SP_TEST 61)
|
UNSPEC_SP_TEST
|
||||||
|
|
||||||
(UNSPEC_EDGE8N 70)
|
UNSPEC_EDGE8N
|
||||||
(UNSPEC_EDGE8LN 71)
|
UNSPEC_EDGE8LN
|
||||||
(UNSPEC_EDGE16N 72)
|
UNSPEC_EDGE16N
|
||||||
(UNSPEC_EDGE16LN 73)
|
UNSPEC_EDGE16LN
|
||||||
(UNSPEC_EDGE32N 74)
|
UNSPEC_EDGE32N
|
||||||
(UNSPEC_EDGE32LN 75)
|
UNSPEC_EDGE32LN
|
||||||
(UNSPEC_BSHUFFLE 76)
|
UNSPEC_BSHUFFLE
|
||||||
(UNSPEC_CMASK8 77)
|
UNSPEC_CMASK8
|
||||||
(UNSPEC_CMASK16 78)
|
UNSPEC_CMASK16
|
||||||
(UNSPEC_CMASK32 79)
|
UNSPEC_CMASK32
|
||||||
(UNSPEC_FCHKSM16 80)
|
UNSPEC_FCHKSM16
|
||||||
(UNSPEC_PDISTN 81)
|
UNSPEC_PDISTN
|
||||||
(UNSPEC_FUCMP 82)
|
UNSPEC_FUCMP
|
||||||
(UNSPEC_FHADD 83)
|
UNSPEC_FHADD
|
||||||
(UNSPEC_FHSUB 84)
|
UNSPEC_FHSUB
|
||||||
(UNSPEC_XMUL 85)
|
UNSPEC_XMUL
|
||||||
(UNSPEC_MUL8 86)
|
UNSPEC_MUL8
|
||||||
(UNSPEC_MUL8SU 87)
|
UNSPEC_MUL8SU
|
||||||
(UNSPEC_MULDSU 88)
|
UNSPEC_MULDSU
|
||||||
])
|
])
|
||||||
|
|
||||||
(define_constants
|
(define_c_enum "unspecv" [
|
||||||
[(UNSPECV_BLOCKAGE 0)
|
UNSPECV_BLOCKAGE
|
||||||
(UNSPECV_FLUSHW 1)
|
UNSPECV_FLUSHW
|
||||||
(UNSPECV_FLUSH 4)
|
UNSPECV_FLUSH
|
||||||
(UNSPECV_SAVEW 6)
|
UNSPECV_SAVEW
|
||||||
(UNSPECV_CAS 8)
|
UNSPECV_CAS
|
||||||
(UNSPECV_SWAP 9)
|
UNSPECV_SWAP
|
||||||
(UNSPECV_LDSTUB 10)
|
UNSPECV_LDSTUB
|
||||||
(UNSPECV_PROBE_STACK_RANGE 11)
|
UNSPECV_PROBE_STACK_RANGE
|
||||||
])
|
])
|
||||||
|
|
||||||
(define_constants
|
(define_constants
|
||||||
[(G0_REG 0)
|
[(G0_REG 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue