parse-pound-hi.s
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
memw(gp+#hi_htc_version) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
memw(gp+#HI) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#HI)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#HI_x) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#HI_x)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#hi) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#hi)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#hi_x) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#hi_x)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#lo) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#lo)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#lo_x) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#lo_x)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#LO) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#lo)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
memw(gp+#LO_x) = r3
#CHECK: 4880c300 { memw(gp+#0) = r3 }
r3 = memw(gp+#LO_x)
#CHECK: 4980c003 { r3 = memw(gp+#0) }
r16.h = #HI(0x405000)
#CHECK: 7230c040 { r16.h = #64 }
r16.h = #HI (0x405000)
#CHECK: 7230c040 { r16.h = #64 }
r16.h = #hi(0x405000)
#CHECK: 7230c040 { r16.h = #64 }
r16.h = #hi (0x405000)
#CHECK: 7230c040 { r16.h = #64 }
r16.l = #LO(0x405020)
#CHECK: 7170d020 { r16.l = #20512 }
r16.l = #LO (0x405020)
#CHECK: 7170d020 { r16.l = #20512 }
r16.l = #lo(0x405020)
#CHECK: 7170d020 { r16.l = #20512 }
r16.l = #lo (0x405020)
#CHECK: 7170d020 { r16.l = #20512 }
{
r19.h = #HI(-559030611)
memw(r17+#0) = r19.new
}
# CHECK: 72f35ead { r19.h = #57005
# CHECK: a1b1d200 memw(r17+#0) = r19.new }