1 # RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
9 # CHECK: immext(#1024000)
10 # CHECK: memb(##1024056) = r0
17 # CHECK: memb(gp+#56) = r0
24 # CHECK: immext(#1024000)
25 # CHECK: memh(##1024056) = r0
32 # CHECK: memh(gp+#56) = r0
39 # CHECK: immext(#1024000)
40 # CHECK: memw(##1024056) = r0
47 # CHECK: memw(gp+#56) = r0
52 memb
(##1024056) = r0.new
56 # CHECK: immext(#1024000)
57 # CHECK: memb(##1024056) = r0.new
62 memb
(GP
+ #56) = r0.new
66 # CHECK: memb(gp+#56) = r0.new
71 memh
(##1024056) = r0.new
75 # CHECK: immext(#1024000)
76 # CHECK: memh(##1024056) = r0.new
81 memh
(GP
+ #56) = r0.new
85 # CHECK: memh(gp+#56) = r0.new
90 memw
(##1024056) = r0.new
94 # CHECK: immext(#1024000)
95 # CHECK: memw(##1024056) = r0.new
100 memw
(GP
+ #56) = r0.new
104 # CHECK: memw(gp+#56) = r0.new
108 memd
(##1024056) = r1:0
111 # CHECK: immext(#1024000)
112 # CHECK: memd(##1024056) = r1:0
116 memd
(GP
+ #56) = r1:0
119 # CHECK: memd(gp+#56) = r1:0
126 # CHECK: immext(#1024000)
127 # CHECK: r0 = memb(##1024056)
134 # CHECK: r0 = memb(gp+#56)
138 r0 = memub
(##1024056)
141 # CHECK: immext(#1024000)
142 # CHECK: r0 = memub(##1024056)
149 # CHECK: r0 = memub(gp+#56)
156 # CHECK: immext(#1024000)
157 # CHECK: r0 = memh(##1024056)
164 # CHECK: r0 = memh(gp+#56)
168 r0 = memuh
(##1024056)
171 # CHECK: immext(#1024000)
172 # CHECK: r0 = memuh(##1024056)
179 # CHECK: r0 = memuh(gp+#56)
186 # CHECK: immext(#1024000)
187 # CHECK: r0 = memw(##1024056)
194 # CHECK: r0 = memw(gp+#56)
198 r1:0 = memd
(##1024056)
201 # CHECK: immext(#1024000)
202 # CHECK: r1:0 = memd(##1024056)
206 r1:0 = memd
(GP
+ #56)
209 # CHECK: r1:0 = memd(gp+#56)
213 r0 = add(r0, ##123456)
217 # CHECK: r0 = add(r0,##123456); r1 = add(r1,#-64)