1 #RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
3 # Check encoding bits for GP-relative loads.
5 #CHECK: 4fc6ff8c { r13:12 = memd(gp+#421856) }
6 r13:12 = memd
(gp+
#421856)
7 #CHECK: 4fc6ff8c { r13:12 = memd(gp+#421856) }
10 #CHECK: 4d1ac4d2 { r18 = memb(gp+#46118) }
12 #CHECK: 4d1ac4d2 { r18 = memb(gp+#46118) }
15 #CHECK: 4d81f772 { r18 = memw(gp+#134892) }
16 r18 = memw
(gp+
#134892)
17 #CHECK: 4d81f772 { r18 = memw(gp+#134892) }
20 #CHECK: 497de287 { r7 = memuh(gp+#30248) }
22 #CHECK: 497de287 { r7 = memuh(gp+#30248) }
25 #CHECK: 4b43e87a { r26 = memh(gp+#36486) }
27 #CHECK: 4b43e87a { r26 = memh(gp+#36486) }
30 #CHECK: 4f37d07f { r31 = memub(gp+#61059) }
31 r31 = memub
(gp+
#61059)
32 #CHECK: 4f37d07f { r31 = memub(gp+#61059) }