diff options
Diffstat (limited to 'test/MC/Disassembler/Hexagon/st.txt')
-rw-r--r-- | test/MC/Disassembler/Hexagon/st.txt | 84 |
1 files changed, 78 insertions, 6 deletions
diff --git a/test/MC/Disassembler/Hexagon/st.txt b/test/MC/Disassembler/Hexagon/st.txt index 3b809d3465a8..6d9074a05ef7 100644 --- a/test/MC/Disassembler/Hexagon/st.txt +++ b/test/MC/Disassembler/Hexagon/st.txt @@ -5,7 +5,9 @@ 0x9e 0xf5 0xd1 0x3b # CHECK: memd(r17 + r21<<#3) = r31:30 0x28 0xd4 0xc0 0x48 -# CHECK: memd(##320) = r21:20 +# CHECK: memd(#320) = r21:20 +0x02 0x40 0x00 0x00 0x28 0xd4 0xc0 0x48 +# CHECK: memd(##168) = r21:20 0x15 0xd4 0xd1 0xa1 # CHECK: memd(r17+#168) = r21:20 0x02 0xf4 0xd1 0xa9 @@ -14,6 +16,8 @@ # CHECK: memd(r17 ++ #40:circ(m1)) = r21:20 0x28 0xd4 0xd1 0xab # CHECK: memd(r17++#40) = r21:20 +0x00 0x40 0x00 0x00 0xd5 0xfe 0xd1 0xad +# CHECK: memd(r17<<#3 + ##21) = r31:30 0x00 0xf4 0xd1 0xad # CHECK: memd(r17++m1) = r21:20 0x00 0xf4 0xd1 0xaf @@ -50,6 +54,16 @@ 0x03 0x40 0x45 0x85 0xaf 0xf4 0xd1 0xab # CHECK: p3 = r5 # CHECK-NEXT: if (!p3.new) memd(r17++#40) = r21:20 +0x02 0x40 0x00 0x00 0xc3 0xd4 0xc2 0xaf +# CHECK: if (p3) memd(##168) = r21:20 +0x02 0x40 0x00 0x00 0xc7 0xd4 0xc2 0xaf +# CHECK: if (!p3) memd(##168) = r21:20 +0x03 0x40 0x45 0x85 0x02 0x40 0x00 0x00 0xc3 0xf4 0xc2 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (p3.new) memd(##168) = r21:20 +0x03 0x40 0x45 0x85 0x02 0x40 0x00 0x00 0xc7 0xf4 0xc2 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (!p3.new) memd(##168) = r21:20 # Store byte 0x9f 0xf5 0x11 0x3b @@ -57,6 +71,8 @@ 0x9f 0xca 0x11 0x3c # CHECK: memb(r17+#21)=#31 0x15 0xd5 0x00 0x48 +# CHECK: memb(#21) = r21 +0x00 0x40 0x00 0x00 0x15 0xd5 0x00 0x48 # CHECK: memb(##21) = r21 0x15 0xd5 0x11 0xa1 # CHECK: memb(r17+#21) = r21 @@ -66,6 +82,8 @@ # CHECK: memb(r17 ++ #5:circ(m1)) = r21 0x28 0xd5 0x11 0xab # CHECK: memb(r17++#5) = r21 +0x00 0x40 0x00 0x00 0xd5 0xff 0x11 0xad +# CHECK: memb(r17<<#3 + ##21) = r31 0x00 0xf5 0x11 0xad # CHECK: memb(r17++m1) = r21 0x00 0xf5 0x11 0xaf @@ -112,6 +130,16 @@ 0x03 0x40 0x45 0x85 0xaf 0xf5 0x11 0xab # CHECK: p3 = r5 # CHECK-NEXT: if (!p3.new) memb(r17++#5) = r21 +0x00 0x40 0x00 0x00 0xab 0xd5 0x01 0xaf +# CHECK: if (p3) memb(##21) = r21 +0x00 0x40 0x00 0x00 0xaf 0xd5 0x01 0xaf +# CHECK: if (!p3) memb(##21) = r21 +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xab 0xf5 0x01 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (p3.new) memb(##21) = r21 +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xaf 0xf5 0x01 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (!p3.new) memb(##21) = r21 # Store halfword 0x9f 0xf5 0x51 0x3b @@ -120,10 +148,14 @@ # CHECK: memh(r17 + r21<<#3) = r31.h 0x95 0xcf 0x31 0x3c # CHECK: memh(r17+#62)=#21 +0x00 0x40 0x00 0x00 0x2a 0xd5 0x40 0x48 +# CHECK: memh(##42) = r21 +0x00 0x40 0x00 0x00 0x2a 0xd5 0x60 0x48 +# CHECK: memh(##42) = r21.h 0x2a 0xd5 0x40 0x48 -# CHECK: memh(##84) = r21 +# CHECK: memh(#84) = r21 0x2a 0xd5 0x60 0x48 -# CHECK: memh(##84) = r21.h +# CHECK: memh(#84) = r21.h 0x15 0xdf 0x51 0xa1 # CHECK: memh(r17+#42) = r31 0x15 0xdf 0x71 0xa1 @@ -138,8 +170,12 @@ # CHECK: memh(r17 ++ #10:circ(m1)) = r21.h 0x28 0xd5 0x51 0xab # CHECK: memh(r17++#10) = r21 +0x00 0x40 0x00 0x00 0xd5 0xff 0x51 0xad +# CHECK: memh(r17<<#3 + ##21) = r31 0x28 0xd5 0x71 0xab # CHECK: memh(r17++#10) = r21.h +0x00 0x40 0x00 0x00 0xd5 0xff 0x71 0xad +# CHECK: memh(r17<<#3 + ##21) = r31.h 0x00 0xf5 0x51 0xad # CHECK: memh(r17++m1) = r21 0x00 0xf5 0x71 0xad @@ -220,22 +256,48 @@ 0x03 0x40 0x45 0x85 0xaf 0xf5 0x71 0xab # CHECK: p3 = r5 # CHECK-NEXT: if (!p3.new) memh(r17++#10) = r21.h +0x00 0x40 0x00 0x00 0xd3 0xd5 0x42 0xaf +# CHECK: if (p3) memh(##42) = r21 +0x00 0x40 0x00 0x00 0xd3 0xd5 0x62 0xaf +# CHECK: if (p3) memh(##42) = r21.h +0x00 0x40 0x00 0x00 0xd7 0xd5 0x42 0xaf +# CHECK: if (!p3) memh(##42) = r21 +0x00 0x40 0x00 0x00 0xd7 0xd5 0x62 0xaf +# CHECK: if (!p3) memh(##42) = r21.h +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xd3 0xf5 0x42 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (p3.new) memh(##42) = r21 +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xd3 0xf5 0x62 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (p3.new) memh(##42) = r21.h +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xd7 0xf5 0x42 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (!p3.new) memh(##42) = r21 +0x03 0x40 0x45 0x85 0x00 0x40 0x00 0x00 0xd7 0xf5 0x62 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (!p3.new) memh(##42) = r21.h # Store word 0x9f 0xf5 0x91 0x3b # CHECK: memw(r17 + r21<<#3) = r31 0x9f 0xca 0x51 0x3c +# CHECK: memw(r17{{ *}}+{{ *}}#84)=#31 +0x15 0xdf 0x80 0x48 +# CHECK: memw(#84) = r31 +0x01 0x40 0x00 0x00 0x14 0xd5 0x80 0x48 +# CHECK: memw(##84) = r21 +0x9f 0xca 0x51 0x3c # CHECK: memw(r17+#84)=#31 0x15 0xdf 0x91 0xa1 # CHECK: memw(r17+#84) = r31 -0x14 0xd5 0x80 0x48 -# CHECK: memw(##80) = r21 0x02 0xf5 0x91 0xa9 # CHECK: memw(r17 ++ I:circ(m1)) = r21 0x28 0xf5 0x91 0xa9 # CHECK: memw(r17 ++ #20:circ(m1)) = r21 0x28 0xd5 0x91 0xab # CHECK: memw(r17++#20) = r21 +0x00 0x40 0x00 0x00 0xd5 0xff 0x91 0xad +# CHECK: memw(r17<<#3 + ##21) = r31 0x00 0xf5 0x91 0xad # CHECK: memw(r17++m1) = r21 0x00 0xf5 0x91 0xaf @@ -282,7 +344,17 @@ 0x03 0x40 0x45 0x85 0xab 0xf5 0x91 0xab # CHECK: p3 = r5 # CHECK-NEXT: if (p3.new) memw(r17++#20) = r21 +0x01 0x40 0x00 0x00 0xa3 0xd5 0x81 0xaf +# CHECK: if (p3) memw(##84) = r21 +0x01 0x40 0x00 0x00 0xa7 0xd5 0x81 0xaf +# CHECK: if (!p3) memw(##84) = r21 +0x03 0x40 0x45 0x85 0x01 0x40 0x00 0x00 0xa3 0xf5 0x81 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (p3.new) memw(##84) = r21 +0x03 0x40 0x45 0x85 0x01 0x40 0x00 0x00 0xa7 0xf5 0x81 0xaf +# CHECK: p3 = r5 +# CHECK-NEXT: if (!p3.new) memw(##84) = r21 # Allocate stack frame 0x1f 0xc0 0x9d 0xa0 -# CHECK: allocframe(#248)
\ No newline at end of file +# CHECK: allocframe(#248) |