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