• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s
2
3# Check encoding bits for gp-rel stores.
4
5#CHECK: 4ab3f229 memw(gp+#105636) = r12.new
6{ r12 = add(r0,r19)
7  memw(gp+#105636) = r12.new }
8
9#CHECK: 4ab3f229 memw(gp+#105636) = r12.new
10{ r12 = add(r0,r19)
11  memw(#105636) = r12.new }
12
13#CHECK: 4ebdca35 memh(gp+#128106) = r6.new
14{ r6 = add(r18,r13)
15  memh(gp+#128106) = r6.new }
16
17#CHECK: 4ebdca35 memh(gp+#128106) = r6.new
18{ r6 = add(r18,r13)
19  memh(#128106) = r6.new }
20
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 }
27
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 }
32
33#CHECK: 4c9dfa1e { memw(gp+#191608) = r26
34{ memw(gp+#191608) = r26 }
35#CHECK: 4c9dfa1e { memw(gp+#191608) = r26
36{ memw(#191608) = r26 }
37
38#CHECK: 4855cfdc { memh(gp+#21944) = r15
39{ memh(gp+#21944) = r15 }
40#CHECK: 4855cfdc { memh(gp+#21944) = r15
41{ memh(#21944) = r15 }
42
43#CHECK: 4a00cea2 { memb(gp+#16546) = r14
44{ memb(gp+#16546) = r14 }
45#CHECK: 4a00cea2 { memb(gp+#16546) = r14
46{ memb(#16546) = r14 }
47