Commit 30a49b23 by Andreas Krebbel Committed by Andreas Krebbel

s390.md: Use define_c_enum for the unspec constant definitions.

2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md: Use define_c_enum for the unspec constant
	definitions.

From-SVN: r171132
parent 419e1853
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md: Use define_c_enum for the unspec constant
definitions.
2011-03-18 Richard Henderson <rth@redhat.com> 2011-03-18 Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
......
...@@ -57,87 +57,87 @@ ...@@ -57,87 +57,87 @@
;; UNSPEC usage ;; UNSPEC usage
;; ;;
(define_constants (define_c_enum "unspec" [
[; Miscellaneous ; Miscellaneous
(UNSPEC_ROUND 1) UNSPEC_ROUND
(UNSPEC_CCU_TO_INT 2) UNSPEC_CCU_TO_INT
(UNSPEC_CCZ_TO_INT 3) UNSPEC_CCZ_TO_INT
(UNSPEC_ICM 10) UNSPEC_ICM
(UNSPEC_TIE 11) UNSPEC_TIE
; GOT/PLT and lt-relative accesses ; GOT/PLT and lt-relative accesses
(UNSPEC_LTREL_OFFSET 100) UNSPEC_LTREL_OFFSET
(UNSPEC_LTREL_BASE 101) UNSPEC_LTREL_BASE
(UNSPEC_POOL_OFFSET 102) UNSPEC_POOL_OFFSET
(UNSPEC_GOTENT 110) UNSPEC_GOTENT
(UNSPEC_GOT 111) UNSPEC_GOT
(UNSPEC_GOTOFF 112) UNSPEC_GOTOFF
(UNSPEC_PLT 113) UNSPEC_PLT
(UNSPEC_PLTOFF 114) UNSPEC_PLTOFF
; Literal pool ; Literal pool
(UNSPEC_RELOAD_BASE 210) UNSPEC_RELOAD_BASE
(UNSPEC_MAIN_BASE 211) UNSPEC_MAIN_BASE
(UNSPEC_LTREF 212) UNSPEC_LTREF
(UNSPEC_INSN 213) UNSPEC_INSN
(UNSPEC_EXECUTE 214) UNSPEC_EXECUTE
; Atomic Support ; Atomic Support
(UNSPEC_MB 400) UNSPEC_MB
; TLS relocation specifiers ; TLS relocation specifiers
(UNSPEC_TLSGD 500) UNSPEC_TLSGD
(UNSPEC_TLSLDM 501) UNSPEC_TLSLDM
(UNSPEC_NTPOFF 502) UNSPEC_NTPOFF
(UNSPEC_DTPOFF 503) UNSPEC_DTPOFF
(UNSPEC_GOTNTPOFF 504) UNSPEC_GOTNTPOFF
(UNSPEC_INDNTPOFF 505) UNSPEC_INDNTPOFF
; TLS support ; TLS support
(UNSPEC_TLSLDM_NTPOFF 511) UNSPEC_TLSLDM_NTPOFF
(UNSPEC_TLS_LOAD 512) UNSPEC_TLS_LOAD
; String Functions ; String Functions
(UNSPEC_SRST 600) UNSPEC_SRST
(UNSPEC_MVST 601) UNSPEC_MVST
; Stack Smashing Protector ; Stack Smashing Protector
(UNSPEC_SP_SET 700) UNSPEC_SP_SET
(UNSPEC_SP_TEST 701) UNSPEC_SP_TEST
; Test Data Class (TDC) ; Test Data Class (TDC)
(UNSPEC_TDC_INSN 800) UNSPEC_TDC_INSN
; Population Count ; Population Count
(UNSPEC_POPCNT 900) UNSPEC_POPCNT
(UNSPEC_COPYSIGN 901) UNSPEC_COPYSIGN
]) ])
;; ;;
;; UNSPEC_VOLATILE usage ;; UNSPEC_VOLATILE usage
;; ;;
(define_constants (define_c_enum "unspecv" [
[; Blockage ; Blockage
(UNSPECV_BLOCKAGE 0) UNSPECV_BLOCKAGE
; TPF Support ; TPF Support
(UNSPECV_TPF_PROLOGUE 20) UNSPECV_TPF_PROLOGUE
(UNSPECV_TPF_EPILOGUE 21) UNSPECV_TPF_EPILOGUE
; Literal pool ; Literal pool
(UNSPECV_POOL 200) UNSPECV_POOL
(UNSPECV_POOL_SECTION 201) UNSPECV_POOL_SECTION
(UNSPECV_POOL_ALIGN 202) UNSPECV_POOL_ALIGN
(UNSPECV_POOL_ENTRY 203) UNSPECV_POOL_ENTRY
(UNSPECV_MAIN_POOL 300) UNSPECV_MAIN_POOL
; TLS support ; TLS support
(UNSPECV_SET_TP 500) UNSPECV_SET_TP
; Atomic Support ; Atomic Support
(UNSPECV_CAS 700) UNSPECV_CAS
(UNSPECV_ATOMIC_OP 701) UNSPECV_ATOMIC_OP
]) ])
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment