[InstCombine] Signed saturation tests. NFC
[llvm-core.git] / test / MC / Hexagon / extender.s
blobd0990d1ced75cbdd87c24a345febd0f1cf72f29d
1 # RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
4 # STrib_abs_V4
6 memb(##1024056) = r0
9 # CHECK: immext(#1024000)
10 # CHECK: memb(##1024056) = r0
12 # S2_storerbgp
14 memb(GP + #56) = r0
17 # CHECK: memb(gp+#56) = r0
19 # STrih_abs_V4
21 memh(##1024056) = r0
24 # CHECK: immext(#1024000)
25 # CHECK: memh(##1024056) = r0
27 # S2_storerhgp
29 memh(GP + #56) = r0
32 # CHECK: memh(gp+#56) = r0
34 # STriw_abs_V4
36 memw(##1024056) = r0
39 # CHECK: immext(#1024000)
40 # CHECK: memw(##1024056) = r0
42 # S2_storerigp
44 memw(GP + #56) = r0
47 # CHECK: memw(gp+#56) = r0
49 # STrib_abs_nv_V4
51 r0 = #1
52 memb(##1024056) = r0.new
55 # CHECK: r0 = #1
56 # CHECK: immext(#1024000)
57 # CHECK: memb(##1024056) = r0.new
59 # S2_storerbnewgp
61 r0 = #1
62 memb(GP + #56) = r0.new
65 # CHECK: r0 = #1
66 # CHECK: memb(gp+#56) = r0.new
68 # STrih_abs_nv_V4
70 r0 = #1
71 memh(##1024056) = r0.new
74 # CHECK: r0 = #1
75 # CHECK: immext(#1024000)
76 # CHECK: memh(##1024056) = r0.new
78 # S2_storerhnewgp
80 r0 = #1
81 memh(GP + #56) = r0.new
84 # CHECK: r0 = #1
85 # CHECK: memh(gp+#56) = r0.new
87 # STriw_abs_nv_V4
89 r0 = #1
90 memw(##1024056) = r0.new
93 # CHECK: r0 = #1
94 # CHECK: immext(#1024000)
95 # CHECK: memw(##1024056) = r0.new
97 # S2_storerinewgp
99 r0 = #1
100 memw(GP + #56) = r0.new
103 # CHECK: r0 = #1
104 # CHECK: memw(gp+#56) = r0.new
106 # STrid_abs_V4
108 memd(##1024056) = r1:0
111 # CHECK: immext(#1024000)
112 # CHECK: memd(##1024056) = r1:0
114 # S2_storerdgp
116 memd(GP + #56) = r1:0
119 # CHECK: memd(gp+#56) = r1:0
121 # LDrib_abs_V4
123 r0 = memb(##1024056)
126 # CHECK: immext(#1024000)
127 # CHECK: r0 = memb(##1024056)
129 # LDb_GP_V4
131 r0 = memb(GP + #56)
134 # CHECK: r0 = memb(gp+#56)
136 # LDriub_abs_V4
138 r0 = memub(##1024056)
141 # CHECK: immext(#1024000)
142 # CHECK: r0 = memub(##1024056)
144 # LDub_GP_V4
146 r0 = memub(GP + #56)
149 # CHECK: r0 = memub(gp+#56)
151 # LDrih_abs_V4
153 r0 = memh(##1024056)
156 # CHECK: immext(#1024000)
157 # CHECK: r0 = memh(##1024056)
159 # LDh_GP_V4
161 r0 = memh(GP + #56)
164 # CHECK: r0 = memh(gp+#56)
166 # LDriuh_abs_V4
168 r0 = memuh(##1024056)
171 # CHECK: immext(#1024000)
172 # CHECK: r0 = memuh(##1024056)
174 # LDuh_GP_V4
176 r0 = memuh(GP + #56)
179 # CHECK: r0 = memuh(gp+#56)
181 # LDriw_abs_V4
183 r0 = memw(##1024056)
186 # CHECK: immext(#1024000)
187 # CHECK: r0 = memw(##1024056)
189 # LDw_GP_V4
191 r0 = memw(GP + #56)
194 # CHECK: r0 = memw(gp+#56)
196 # LDrid_abs_V4
198 r1:0 = memd(##1024056)
201 # CHECK: immext(#1024000)
202 # CHECK: r1:0 = memd(##1024056)
204 # LDd_GP_V4
206 r1:0 = memd(GP + #56)
209 # CHECK: r1:0 = memd(gp+#56)
213 r0 = add(r0, ##123456)
214 r1 = add(r1, #-64)
217 # CHECK: r0 = add(r0,##123456); r1 = add(r1,#-64)