1 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_R600/' %s | yaml2obj -o %t.o.R600_R600
2 # RUN: llvm-readobj -S --file-headers %t.o.R600_R600 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-R600 %s
3 # RUN: obj2yaml %t.o.R600_R600 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-R600 %s
5 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_R630/' %s | yaml2obj -o %t.o.R600_R630
6 # RUN: llvm-readobj -S --file-headers %t.o.R600_R630 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-R630 %s
7 # RUN: obj2yaml %t.o.R600_R630 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-R630 %s
9 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_RS880/' %s | yaml2obj -o %t.o.R600_RS880
10 # RUN: llvm-readobj -S --file-headers %t.o.R600_RS880 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-RS880 %s
11 # RUN: obj2yaml %t.o.R600_RS880 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RS880 %s
13 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_RV670/' %s | yaml2obj -o %t.o.R600_RV670
14 # RUN: llvm-readobj -S --file-headers %t.o.R600_RV670 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-RV670 %s
15 # RUN: obj2yaml %t.o.R600_RV670 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV670 %s
17 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_RV710/' %s | yaml2obj -o %t.o.R600_RV710
18 # RUN: llvm-readobj -S --file-headers %t.o.R600_RV710 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-RV710 %s
19 # RUN: obj2yaml %t.o.R600_RV710 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV710 %s
21 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_RV730/' %s | yaml2obj -o %t.o.R600_RV730
22 # RUN: llvm-readobj -S --file-headers %t.o.R600_RV730 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-RV730 %s
23 # RUN: obj2yaml %t.o.R600_RV730 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV730 %s
25 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_RV770/' %s | yaml2obj -o %t.o.R600_RV770
26 # RUN: llvm-readobj -S --file-headers %t.o.R600_RV770 | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-RV770 %s
27 # RUN: obj2yaml %t.o.R600_RV770 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV770 %s
29 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_CEDAR/' %s | yaml2obj -o %t.o.R600_CEDAR
30 # RUN: llvm-readobj -S --file-headers %t.o.R600_CEDAR | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-CEDAR %s
31 # RUN: obj2yaml %t.o.R600_CEDAR | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CEDAR %s
33 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_CYPRESS/' %s | yaml2obj -o %t.o.R600_CYPRESS
34 # RUN: llvm-readobj -S --file-headers %t.o.R600_CYPRESS | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-CYPRESS %s
35 # RUN: obj2yaml %t.o.R600_CYPRESS | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CYPRESS %s
37 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_JUNIPER/' %s | yaml2obj -o %t.o.R600_JUNIPER
38 # RUN: llvm-readobj -S --file-headers %t.o.R600_JUNIPER | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-JUNIPER %s
39 # RUN: obj2yaml %t.o.R600_JUNIPER | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-JUNIPER %s
41 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_REDWOOD/' %s | yaml2obj -o %t.o.R600_REDWOOD
42 # RUN: llvm-readobj -S --file-headers %t.o.R600_REDWOOD | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-REDWOOD %s
43 # RUN: obj2yaml %t.o.R600_REDWOOD | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-REDWOOD %s
45 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_SUMO/' %s | yaml2obj -o %t.o.R600_SUMO
46 # RUN: llvm-readobj -S --file-headers %t.o.R600_SUMO | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-SUMO %s
47 # RUN: obj2yaml %t.o.R600_SUMO | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-SUMO %s
49 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_BARTS/' %s | yaml2obj -o %t.o.R600_BARTS
50 # RUN: llvm-readobj -S --file-headers %t.o.R600_BARTS | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-BARTS %s
51 # RUN: obj2yaml %t.o.R600_BARTS | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-BARTS %s
53 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_CAICOS/' %s | yaml2obj -o %t.o.R600_CAICOS
54 # RUN: llvm-readobj -S --file-headers %t.o.R600_CAICOS | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-CAICOS %s
55 # RUN: obj2yaml %t.o.R600_CAICOS | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CAICOS %s
57 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_CAYMAN/' %s | yaml2obj -o %t.o.R600_CAYMAN
58 # RUN: llvm-readobj -S --file-headers %t.o.R600_CAYMAN | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-CAYMAN %s
59 # RUN: obj2yaml %t.o.R600_CAYMAN | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CAYMAN %s
61 # RUN: sed -e 's/<BITS>/32/' -e 's/<MACH>/R600_TURKS/' %s | yaml2obj -o %t.o.R600_TURKS
62 # RUN: llvm-readobj -S --file-headers %t.o.R600_TURKS | FileCheck --check-prefixes=ELF-R600-ALL,ELF-R600-TURKS %s
63 # RUN: obj2yaml %t.o.R600_TURKS | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-TURKS %s
65 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX600/' %s | yaml2obj -o %t.o.AMDGCN_GFX600
66 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX600 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX600 %s
67 # RUN: obj2yaml %t.o.AMDGCN_GFX600 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX600 %s
69 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX601/' %s | yaml2obj -o %t.o.AMDGCN_GFX601
70 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX601 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX601 %s
71 # RUN: obj2yaml %t.o.AMDGCN_GFX601 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX601 %s
73 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX602/' %s | yaml2obj -o %t.o.AMDGCN_GFX602
74 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX602 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX602 %s
75 # RUN: obj2yaml %t.o.AMDGCN_GFX602 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX602 %s
77 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX700/' %s | yaml2obj -o %t.o.AMDGCN_GFX700
78 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX700 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX700 %s
79 # RUN: obj2yaml %t.o.AMDGCN_GFX700 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX700 %s
81 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX701/' %s | yaml2obj -o %t.o.AMDGCN_GFX701
82 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX701 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX701 %s
83 # RUN: obj2yaml %t.o.AMDGCN_GFX701 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX701 %s
85 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX702/' %s | yaml2obj -o %t.o.AMDGCN_GFX702
86 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX702 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX702 %s
87 # RUN: obj2yaml %t.o.AMDGCN_GFX702 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX702 %s
89 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX703/' %s | yaml2obj -o %t.o.AMDGCN_GFX703
90 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX703 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX703 %s
91 # RUN: obj2yaml %t.o.AMDGCN_GFX703 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX703 %s
93 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX704/' %s | yaml2obj -o %t.o.AMDGCN_GFX704
94 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX704 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX704 %s
95 # RUN: obj2yaml %t.o.AMDGCN_GFX704 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX704 %s
97 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX705/' %s | yaml2obj -o %t.o.AMDGCN_GFX705
98 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX705 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX705 %s
99 # RUN: obj2yaml %t.o.AMDGCN_GFX705 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX705 %s
101 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX801/' %s | yaml2obj -o %t.o.AMDGCN_GFX801
102 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX801 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX801 %s
103 # RUN: obj2yaml %t.o.AMDGCN_GFX801 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX801 %s
105 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX802/' %s | yaml2obj -o %t.o.AMDGCN_GFX802
106 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX802 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX802 %s
107 # RUN: obj2yaml %t.o.AMDGCN_GFX802 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX802 %s
109 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX803/' %s | yaml2obj -o %t.o.AMDGCN_GFX803
110 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX803 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX803 %s
111 # RUN: obj2yaml %t.o.AMDGCN_GFX803 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX803 %s
113 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX805/' %s | yaml2obj -o %t.o.AMDGCN_GFX805
114 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX805 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX805 %s
115 # RUN: obj2yaml %t.o.AMDGCN_GFX805 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX805 %s
117 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX810/' %s | yaml2obj -o %t.o.AMDGCN_GFX810
118 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX810 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX810 %s
119 # RUN: obj2yaml %t.o.AMDGCN_GFX810 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX810 %s
121 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX900/' %s | yaml2obj -o %t.o.AMDGCN_GFX900
122 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX900 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX900 %s
123 # RUN: obj2yaml %t.o.AMDGCN_GFX900 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX900 %s
125 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX902/' %s | yaml2obj -o %t.o.AMDGCN_GFX902
126 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX902 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX902 %s
127 # RUN: obj2yaml %t.o.AMDGCN_GFX902 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX902 %s
129 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX904/' %s | yaml2obj -o %t.o.AMDGCN_GFX904
130 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX904 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX904 %s
131 # RUN: obj2yaml %t.o.AMDGCN_GFX904 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX904 %s
133 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX906/' %s | yaml2obj -o %t.o.AMDGCN_GFX906
134 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX906 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX906 %s
135 # RUN: obj2yaml %t.o.AMDGCN_GFX906 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX906 %s
137 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX908/' %s | yaml2obj -o %t.o.AMDGCN_GFX908
138 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX908 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX908 %s
139 # RUN: obj2yaml %t.o.AMDGCN_GFX908 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX908 %s
141 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX909/' %s | yaml2obj -o %t.o.AMDGCN_GFX909
142 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX909 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX909 %s
143 # RUN: obj2yaml %t.o.AMDGCN_GFX909 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX909 %s
145 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX90A/' %s | yaml2obj -o %t.o.AMDGCN_GFX90A
146 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX90A | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX90A %s
147 # RUN: obj2yaml %t.o.AMDGCN_GFX90A | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX90A %s
149 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX90C/' %s | yaml2obj -o %t.o.AMDGCN_GFX90C
150 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX90C | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX90C %s
151 # RUN: obj2yaml %t.o.AMDGCN_GFX90C | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX90C %s
153 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX940/' %s | yaml2obj -o %t.o.AMDGCN_GFX940
154 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX940 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX940 %s
155 # RUN: obj2yaml %t.o.AMDGCN_GFX940 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX940 %s
157 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX941/' %s | yaml2obj -o %t.o.AMDGCN_GFX941
158 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX941 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX941 %s
159 # RUN: obj2yaml %t.o.AMDGCN_GFX941 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX941 %s
161 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX942/' %s | yaml2obj -o %t.o.AMDGCN_GFX942
162 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX942 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX942 %s
163 # RUN: obj2yaml %t.o.AMDGCN_GFX942 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX942 %s
165 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX950/' %s | yaml2obj -o %t.o.AMDGCN_GFX950
166 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX950 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX950 %s
167 # RUN: obj2yaml %t.o.AMDGCN_GFX950 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX950 %s
169 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1010/' %s | yaml2obj -o %t.o.AMDGCN_GFX1010
170 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1010 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1010 %s
171 # RUN: obj2yaml %t.o.AMDGCN_GFX1010 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1010 %s
173 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1011/' %s | yaml2obj -o %t.o.AMDGCN_GFX1011
174 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1011 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1011 %s
175 # RUN: obj2yaml %t.o.AMDGCN_GFX1011 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1011 %s
177 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1012/' %s | yaml2obj -o %t.o.AMDGCN_GFX1012
178 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1012 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1012 %s
179 # RUN: obj2yaml %t.o.AMDGCN_GFX1012 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1012 %s
181 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1013/' %s | yaml2obj -o %t.o.AMDGCN_GFX1013
182 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1013 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1013 %s
183 # RUN: obj2yaml %t.o.AMDGCN_GFX1013 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1013 %s
185 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1030/' %s | yaml2obj -o %t.o.AMDGCN_GFX1030
186 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1030 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1030 %s
187 # RUN: obj2yaml %t.o.AMDGCN_GFX1030 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1030 %s
189 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1031/' %s | yaml2obj -o %t.o.AMDGCN_GFX1031
190 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1031 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1031 %s
191 # RUN: obj2yaml %t.o.AMDGCN_GFX1031 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1031 %s
193 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1032/' %s | yaml2obj -o %t.o.AMDGCN_GFX1032
194 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1032 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1032 %s
195 # RUN: obj2yaml %t.o.AMDGCN_GFX1032 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1032 %s
197 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1033/' %s | yaml2obj -o %t.o.AMDGCN_GFX1033
198 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1033 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1033 %s
199 # RUN: obj2yaml %t.o.AMDGCN_GFX1033 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1033 %s
201 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1034/' %s | yaml2obj -o %t.o.AMDGCN_GFX1034
202 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1034 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1034 %s
203 # RUN: obj2yaml %t.o.AMDGCN_GFX1034 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1034 %s
205 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1035/' %s | yaml2obj -o %t.o.AMDGCN_GFX1035
206 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1035 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1035 %s
207 # RUN: obj2yaml %t.o.AMDGCN_GFX1035 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1035 %s
209 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1036/' %s | yaml2obj -o %t.o.AMDGCN_GFX1036
210 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1036 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1036 %s
211 # RUN: obj2yaml %t.o.AMDGCN_GFX1036 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1036 %s
213 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1100/' %s | yaml2obj -o %t.o.AMDGCN_GFX1100
214 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1100 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1100 %s
215 # RUN: obj2yaml %t.o.AMDGCN_GFX1100 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1100 %s
217 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1101/' %s | yaml2obj -o %t.o.AMDGCN_GFX1101
218 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1101 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1101 %s
219 # RUN: obj2yaml %t.o.AMDGCN_GFX1101 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1101 %s
221 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1102/' %s | yaml2obj -o %t.o.AMDGCN_GFX1102
222 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1102 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1102 %s
223 # RUN: obj2yaml %t.o.AMDGCN_GFX1102 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1102 %s
225 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1103/' %s | yaml2obj -o %t.o.AMDGCN_GFX1103
226 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1103 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1103 %s
227 # RUN: obj2yaml %t.o.AMDGCN_GFX1103 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1103 %s
229 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1150/' %s | yaml2obj -o %t.o.AMDGCN_GFX1150
230 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1150 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1150 %s
231 # RUN: obj2yaml %t.o.AMDGCN_GFX1150 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1150 %s
233 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1151/' %s | yaml2obj -o %t.o.AMDGCN_GFX1151
234 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1151 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1151 %s
235 # RUN: obj2yaml %t.o.AMDGCN_GFX1151 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1151 %s
237 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1152/' %s | yaml2obj -o %t.o.AMDGCN_GFX1152
238 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1152 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1152 %s
239 # RUN: obj2yaml %t.o.AMDGCN_GFX1152 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1152 %s
241 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1153/' %s | yaml2obj -o %t.o.AMDGCN_GFX1153
242 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1153 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1153 %s
243 # RUN: obj2yaml %t.o.AMDGCN_GFX1153 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1153 %s
245 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1200/' %s | yaml2obj -o %t.o.AMDGCN_GFX1200
246 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1200 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1200 %s
247 # RUN: obj2yaml %t.o.AMDGCN_GFX1200 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1200 %s
249 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX1201/' %s | yaml2obj -o %t.o.AMDGCN_GFX1201
250 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX1201 | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX1201 %s
251 # RUN: obj2yaml %t.o.AMDGCN_GFX1201 | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX1201 %s
253 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX9_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX9_GENERIC
254 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX9_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX9_GENERIC %s
255 # RUN: obj2yaml %t.o.AMDGCN_GFX9_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX9_GENERIC %s
257 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX9_4_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX9_4_GENERIC
258 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX9_4_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX9_4_GENERIC %s
259 # RUN: obj2yaml %t.o.AMDGCN_GFX9_4_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX9_4_GENERIC %s
261 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX10_1_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX10_1_GENERIC
262 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX10_1_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX10_1_GENERIC %s
263 # RUN: obj2yaml %t.o.AMDGCN_GFX10_1_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX10_1_GENERIC %s
265 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX10_3_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX10_3_GENERIC
266 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX10_3_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX10_3_GENERIC %s
267 # RUN: obj2yaml %t.o.AMDGCN_GFX10_3_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX10_3_GENERIC %s
269 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX11_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX11_GENERIC
270 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX11_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX11_GENERIC %s
271 # RUN: obj2yaml %t.o.AMDGCN_GFX11_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX11_GENERIC %s
273 # RUN: sed -e 's/<BITS>/64/' -e 's/<MACH>/AMDGCN_GFX12_GENERIC/' %s | yaml2obj -o %t.o.AMDGCN_GFX12_GENERIC
274 # RUN: llvm-readobj -S --file-headers %t.o.AMDGCN_GFX12_GENERIC | FileCheck --check-prefixes=ELF-AMDGCN-ALL,ELF-AMDGCN-GFX12_GENERIC %s
275 # RUN: obj2yaml %t.o.AMDGCN_GFX12_GENERIC | FileCheck --check-prefixes=YAML-AMDGCN-ALL,YAML-AMDGCN-GFX12_GENERIC %s
278 # ELF-R600-ALL: Format: elf32-amdgpu
279 # ELF-R600-ALL: Arch: r600
280 # ELF-R600-ALL: AddressSize: 32bit
281 # ELF-R600-ALL: Flags [
283 # YAML-R600-ALL: Class: ELFCLASS32
285 # ELF-R600-R600: EF_AMDGPU_MACH_R600_R600 (0x1)
286 # YAML-R600-R600: Flags: [ EF_AMDGPU_MACH_R600_R600 ]
288 # ELF-R600-R630: EF_AMDGPU_MACH_R600_R630 (0x2)
289 # YAML-R600-R630: Flags: [ EF_AMDGPU_MACH_R600_R630 ]
291 # ELF-R600-RS880: EF_AMDGPU_MACH_R600_RS880 (0x3)
292 # YAML-R600-RS880: Flags: [ EF_AMDGPU_MACH_R600_RS880 ]
294 # ELF-R600-RV670: EF_AMDGPU_MACH_R600_RV670 (0x4)
295 # YAML-R600-RV670: Flags: [ EF_AMDGPU_MACH_R600_RV670 ]
297 # ELF-R600-RV710: EF_AMDGPU_MACH_R600_RV710 (0x5)
298 # YAML-R600-RV710: Flags: [ EF_AMDGPU_MACH_R600_RV710 ]
300 # ELF-R600-RV730: EF_AMDGPU_MACH_R600_RV730 (0x6)
301 # YAML-R600-RV730: Flags: [ EF_AMDGPU_MACH_R600_RV730 ]
303 # ELF-R600-RV770: EF_AMDGPU_MACH_R600_RV770 (0x7)
304 # YAML-R600-RV770: Flags: [ EF_AMDGPU_MACH_R600_RV770 ]
306 # ELF-R600-CEDAR: EF_AMDGPU_MACH_R600_CEDAR (0x8)
307 # YAML-R600-CEDAR: Flags: [ EF_AMDGPU_MACH_R600_CEDAR ]
309 # ELF-R600-CYPRESS: EF_AMDGPU_MACH_R600_CYPRESS (0x9)
310 # YAML-R600-CYPRESS: Flags: [ EF_AMDGPU_MACH_R600_CYPRESS ]
312 # ELF-R600-JUNIPER: EF_AMDGPU_MACH_R600_JUNIPER (0xA)
313 # YAML-R600-JUNIPER: Flags: [ EF_AMDGPU_MACH_R600_JUNIPER ]
315 # ELF-R600-REDWOOD: EF_AMDGPU_MACH_R600_REDWOOD (0xB)
316 # YAML-R600-REDWOOD: Flags: [ EF_AMDGPU_MACH_R600_REDWOOD ]
318 # ELF-R600-SUMO: EF_AMDGPU_MACH_R600_SUMO (0xC)
319 # YAML-R600-SUMO: Flags: [ EF_AMDGPU_MACH_R600_SUMO ]
321 # ELF-R600-BARTS: EF_AMDGPU_MACH_R600_BARTS (0xD)
322 # YAML-R600-BARTS: Flags: [ EF_AMDGPU_MACH_R600_BARTS ]
324 # ELF-R600-CAICOS: EF_AMDGPU_MACH_R600_CAICOS (0xE)
325 # YAML-R600-CAICOS: Flags: [ EF_AMDGPU_MACH_R600_CAICOS ]
327 # ELF-R600-CAYMAN: EF_AMDGPU_MACH_R600_CAYMAN (0xF)
328 # YAML-R600-CAYMAN: Flags: [ EF_AMDGPU_MACH_R600_CAYMAN ]
330 # ELF-R600-TURKS: EF_AMDGPU_MACH_R600_TURKS (0x10)
331 # YAML-R600-TURKS: Flags: [ EF_AMDGPU_MACH_R600_TURKS ]
336 # ELF-AMDGCN-ALL: Format: elf64-amdgpu
337 # ELF-AMDGCN-ALL: Arch: amdgcn
338 # ELF-AMDGCN-ALL: AddressSize: 64bit
339 # ELF-AMDGCN-ALL: Flags [
341 # YAML-AMDGCN-ALL: Class: ELFCLASS64
343 # ELF-AMDGCN-GFX600: EF_AMDGPU_MACH_AMDGCN_GFX600 (0x20)
344 # YAML-AMDGCN-GFX600: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX600 ]
346 # ELF-AMDGCN-GFX601: EF_AMDGPU_MACH_AMDGCN_GFX601 (0x21)
347 # YAML-AMDGCN-GFX601: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX601 ]
349 # ELF-AMDGCN-GFX602: EF_AMDGPU_MACH_AMDGCN_GFX602 (0x3A)
350 # YAML-AMDGCN-GFX602: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX602 ]
352 # ELF-AMDGCN-GFX700: EF_AMDGPU_MACH_AMDGCN_GFX700 (0x22)
353 # YAML-AMDGCN-GFX700: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX700 ]
355 # ELF-AMDGCN-GFX701: EF_AMDGPU_MACH_AMDGCN_GFX701 (0x23)
356 # YAML-AMDGCN-GFX701: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX701 ]
358 # ELF-AMDGCN-GFX702: EF_AMDGPU_MACH_AMDGCN_GFX702 (0x24)
359 # YAML-AMDGCN-GFX702: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX702 ]
361 # ELF-AMDGCN-GFX703: EF_AMDGPU_MACH_AMDGCN_GFX703 (0x25)
362 # YAML-AMDGCN-GFX703: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX703 ]
364 # ELF-AMDGCN-GFX704: EF_AMDGPU_MACH_AMDGCN_GFX704 (0x26)
365 # YAML-AMDGCN-GFX704: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX704 ]
367 # ELF-AMDGCN-GFX705: EF_AMDGPU_MACH_AMDGCN_GFX705 (0x3B)
368 # YAML-AMDGCN-GFX705: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX705 ]
370 # ELF-AMDGCN-GFX801: EF_AMDGPU_MACH_AMDGCN_GFX801 (0x28)
371 # YAML-AMDGCN-GFX801: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX801 ]
373 # ELF-AMDGCN-GFX802: EF_AMDGPU_MACH_AMDGCN_GFX802 (0x29)
374 # YAML-AMDGCN-GFX802: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX802 ]
376 # ELF-AMDGCN-GFX803: EF_AMDGPU_MACH_AMDGCN_GFX803 (0x2A)
377 # YAML-AMDGCN-GFX803: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX803 ]
379 # ELF-AMDGCN-GFX805: EF_AMDGPU_MACH_AMDGCN_GFX805 (0x3C)
380 # YAML-AMDGCN-GFX805: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX805 ]
382 # ELF-AMDGCN-GFX810: EF_AMDGPU_MACH_AMDGCN_GFX810 (0x2B)
383 # YAML-AMDGCN-GFX810: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX810 ]
385 # ELF-AMDGCN-GFX900: EF_AMDGPU_MACH_AMDGCN_GFX900 (0x2C)
386 # YAML-AMDGCN-GFX900: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX900 ]
388 # ELF-AMDGCN-GFX902: EF_AMDGPU_MACH_AMDGCN_GFX902 (0x2D)
389 # YAML-AMDGCN-GFX902: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX902 ]
391 # ELF-AMDGCN-GFX904: EF_AMDGPU_MACH_AMDGCN_GFX904 (0x2E)
392 # YAML-AMDGCN-GFX904: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX904 ]
394 # ELF-AMDGCN-GFX906: EF_AMDGPU_MACH_AMDGCN_GFX906 (0x2F)
395 # YAML-AMDGCN-GFX906: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX906 ]
397 # ELF-AMDGCN-GFX908: EF_AMDGPU_MACH_AMDGCN_GFX908 (0x30)
398 # YAML-AMDGCN-GFX908: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX908 ]
400 # ELF-AMDGCN-GFX909: EF_AMDGPU_MACH_AMDGCN_GFX909 (0x31)
401 # YAML-AMDGCN-GFX909: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX909 ]
403 # ELF-AMDGCN-GFX90A: EF_AMDGPU_MACH_AMDGCN_GFX90A (0x3F)
404 # YAML-AMDGCN-GFX90A: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX90A ]
406 # ELF-AMDGCN-GFX90C: EF_AMDGPU_MACH_AMDGCN_GFX90C (0x32)
407 # YAML-AMDGCN-GFX90C: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX90C ]
409 # ELF-AMDGCN-GFX940: EF_AMDGPU_MACH_AMDGCN_GFX940 (0x40)
410 # YAML-AMDGCN-GFX940: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX940 ]
412 # ELF-AMDGCN-GFX941: EF_AMDGPU_MACH_AMDGCN_GFX941 (0x4B)
413 # YAML-AMDGCN-GFX941: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX941 ]
415 # ELF-AMDGCN-GFX942: EF_AMDGPU_MACH_AMDGCN_GFX942 (0x4C)
416 # YAML-AMDGCN-GFX942: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX942 ]
418 # ELF-AMDGCN-GFX950: EF_AMDGPU_MACH_AMDGCN_GFX950 (0x4F)
419 # YAML-AMDGCN-GFX950: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX950 ]
421 # ELF-AMDGCN-GFX1010: EF_AMDGPU_MACH_AMDGCN_GFX1010 (0x33)
422 # YAML-AMDGCN-GFX1010: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1010 ]
424 # ELF-AMDGCN-GFX1011: EF_AMDGPU_MACH_AMDGCN_GFX1011 (0x34)
425 # YAML-AMDGCN-GFX1011: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1011 ]
427 # ELF-AMDGCN-GFX1012: EF_AMDGPU_MACH_AMDGCN_GFX1012 (0x35)
428 # YAML-AMDGCN-GFX1012: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1012 ]
430 # ELF-AMDGCN-GFX1013: EF_AMDGPU_MACH_AMDGCN_GFX1013 (0x42)
431 # YAML-AMDGCN-GFX1013: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1013 ]
433 # ELF-AMDGCN-GFX1030: EF_AMDGPU_MACH_AMDGCN_GFX1030 (0x36)
434 # YAML-AMDGCN-GFX1030: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1030 ]
436 # ELF-AMDGCN-GFX1031: EF_AMDGPU_MACH_AMDGCN_GFX1031 (0x37)
437 # YAML-AMDGCN-GFX1031: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1031 ]
439 # ELF-AMDGCN-GFX1032: EF_AMDGPU_MACH_AMDGCN_GFX1032 (0x38)
440 # YAML-AMDGCN-GFX1032: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1032 ]
442 # ELF-AMDGCN-GFX1033: EF_AMDGPU_MACH_AMDGCN_GFX1033 (0x39)
443 # YAML-AMDGCN-GFX1033: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1033 ]
445 # ELF-AMDGCN-GFX1034: EF_AMDGPU_MACH_AMDGCN_GFX1034 (0x3E)
446 # YAML-AMDGCN-GFX1034: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1034 ]
448 # ELF-AMDGCN-GFX1035: EF_AMDGPU_MACH_AMDGCN_GFX1035 (0x3D)
449 # YAML-AMDGCN-GFX1035: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1035 ]
451 # ELF-AMDGCN-GFX1036: EF_AMDGPU_MACH_AMDGCN_GFX1036 (0x45)
452 # YAML-AMDGCN-GFX1036: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1036 ]
454 # ELF-AMDGCN-GFX1100: EF_AMDGPU_MACH_AMDGCN_GFX1100 (0x41)
455 # YAML-AMDGCN-GFX1100: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1100 ]
457 # ELF-AMDGCN-GFX1101: EF_AMDGPU_MACH_AMDGCN_GFX1101 (0x46)
458 # YAML-AMDGCN-GFX1101: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1101 ]
460 # ELF-AMDGCN-GFX1102: EF_AMDGPU_MACH_AMDGCN_GFX1102 (0x47)
461 # YAML-AMDGCN-GFX1102: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1102 ]
463 # ELF-AMDGCN-GFX1103: EF_AMDGPU_MACH_AMDGCN_GFX1103 (0x44)
464 # YAML-AMDGCN-GFX1103: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1103 ]
466 # ELF-AMDGCN-GFX1150: EF_AMDGPU_MACH_AMDGCN_GFX1150 (0x43)
467 # YAML-AMDGCN-GFX1150: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1150 ]
469 # ELF-AMDGCN-GFX1151: EF_AMDGPU_MACH_AMDGCN_GFX1151 (0x4A)
470 # YAML-AMDGCN-GFX1151: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1151 ]
472 # ELF-AMDGCN-GFX1152: EF_AMDGPU_MACH_AMDGCN_GFX1152 (0x55)
473 # YAML-AMDGCN-GFX1152: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1152 ]
475 # ELF-AMDGCN-GFX1153: EF_AMDGPU_MACH_AMDGCN_GFX1153 (0x58)
476 # YAML-AMDGCN-GFX1153: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1153 ]
478 # ELF-AMDGCN-GFX1200: EF_AMDGPU_MACH_AMDGCN_GFX1200 (0x48)
479 # YAML-AMDGCN-GFX1200: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1200 ]
481 # ELF-AMDGCN-GFX1201: EF_AMDGPU_MACH_AMDGCN_GFX1201 (0x4E)
482 # YAML-AMDGCN-GFX1201: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1201 ]
484 # ELF-AMDGCN-GFX9_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX9_GENERIC (0x51)
485 # YAML-AMDGCN-GFX9_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX9_GENERIC ]
487 # ELF-AMDGCN-GFX9_4_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX9_4_GENERIC (0x5F)
488 # YAML-AMDGCN-GFX9_4_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX9_4_GENERIC ]
490 # ELF-AMDGCN-GFX10_1_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC (0x52)
491 # YAML-AMDGCN-GFX10_1_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC ]
493 # ELF-AMDGCN-GFX10_3_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX10_3_GENERIC (0x53)
494 # YAML-AMDGCN-GFX10_3_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX10_3_GENERIC ]
496 # ELF-AMDGCN-GFX11_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX11_GENERIC (0x54)
497 # YAML-AMDGCN-GFX11_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX11_GENERIC ]
499 # ELF-AMDGCN-GFX12_GENERIC: EF_AMDGPU_MACH_AMDGCN_GFX12_GENERIC (0x59)
500 # YAML-AMDGCN-GFX12_GENERIC: Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX12_GENERIC ]
507 Class: ELFCLASS<BITS>
512 Flags: [ EF_AMDGPU_MACH_<MACH> ]