[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / Hexagon / store-GPRel.s
blob683e746985bbc13c5d38d8f1cd647dd804385bcd
1 #RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump --no-print-imm-hex -d -r - | FileCheck %s
3 # Check encoding bits for gp-rel stores.
5 #CHECK: 4ab3f229 memw(gp+#105636) = r12.new
6 { r12 = add(r0,r19)
7 memw(gp+#105636) = r12.new }
9 #CHECK: 4ab3f229 memw(gp+#105636) = r12.new
10 { r12 = add(r0,r19)
11 memw(#105636) = r12.new }
13 #CHECK: 4ebdca35 memh(gp+#128106) = r6.new
14 { r6 = add(r18,r13)
15 memh(gp+#128106) = r6.new }
17 #CHECK: 4ebdca35 memh(gp+#128106) = r6.new
18 { r6 = add(r18,r13)
19 memh(#128106) = r6.new }
21 #CHECK: 4eb3e2fc memb(gp+#59388) = r17.new
22 { r17 = add(r26,r18)
23 memb(gp+#59388) = r17.new }
24 #CHECK: 4eb3e2fc memb(gp+#59388) = r17.new
25 { r17 = add(r26,r18)
26 memb(#59388) = r17.new }
28 #CHECK: 4ad2ea01 { memd(gp+#206856) = r11:10
29 { memd(gp+#206856) = r11:10 }
30 #CHECK: 4ad2ea01 { memd(gp+#206856) = r11:10
31 { memd(#206856) = r11:10 }
33 #CHECK: 4c9dfa1e { memw(gp+#191608) = r26
34 { memw(gp+#191608) = r26 }
35 #CHECK: 4c9dfa1e { memw(gp+#191608) = r26
36 { memw(#191608) = r26 }
38 #CHECK: 4855cfdc { memh(gp+#21944) = r15
39 { memh(gp+#21944) = r15 }
40 #CHECK: 4855cfdc { memh(gp+#21944) = r15
41 { memh(#21944) = r15 }
43 #CHECK: 4a00cea2 { memb(gp+#16546) = r14
44 { memb(gp+#16546) = r14 }
45 #CHECK: 4a00cea2 { memb(gp+#16546) = r14
46 { memb(#16546) = r14 }