2014-12-22 21:20:03 +00:00
|
|
|
# RUN: llvm-mc --triple hexagon -disassemble < %s | FileCheck %s
|
|
|
|
|
2014-12-22 21:40:43 +00:00
|
|
|
0xf1 0xc3 0x15 0x91
|
|
|
|
# CHECK: r17 = memb(r21 + #31)
|
|
|
|
0x91 0xdd 0x15 0x41
|
|
|
|
# CHECK: if (p3) r17 = memb(r21 + #44)
|
|
|
|
0x03 0x40 0x45 0x85 0x91 0xdd 0x15 0x43
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (p3.new) r17 = memb(r21 + #44)
|
|
|
|
0x91 0xdd 0x15 0x45
|
|
|
|
# CHECK: if (!p3) r17 = memb(r21 + #44)
|
|
|
|
0x03 0x40 0x45 0x85 0x91 0xdd 0x15 0x47
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (!p3.new) r17 = memb(r21 + #44)
|
2014-12-23 17:25:57 +00:00
|
|
|
0xf1 0xc3 0x55 0x91
|
|
|
|
# CHECK: r17 = memh(r21 + #62)
|
2014-12-22 21:20:03 +00:00
|
|
|
0xf1 0xc3 0x35 0x91
|
|
|
|
# CHECK: r17 = memub(r21 + #31)
|
|
|
|
0xf1 0xdb 0x35 0x41
|
|
|
|
# CHECK: if (p3) r17 = memub(r21 + #31)
|
|
|
|
0x03 0x40 0x45 0x85 0xf1 0xdb 0x35 0x43
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (p3.new) r17 = memub(r21 + #31)
|
|
|
|
0xf1 0xdb 0x35 0x45
|
|
|
|
# CHECK: if (!p3) r17 = memub(r21 + #31)
|
|
|
|
0x03 0x40 0x45 0x85 0xf1 0xdb 0x35 0x47
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (!p3.new) r17 = memub(r21 + #31)
|
2014-12-23 17:25:57 +00:00
|
|
|
0xb1 0xc2 0x75 0x91
|
|
|
|
# CHECK: r17 = memuh(r21 + #42)
|
|
|
|
0xb1 0xda 0x75 0x41
|
|
|
|
# CHECK: if (p3) r17 = memuh(r21 + #42)
|
|
|
|
0xb1 0xda 0x75 0x45
|
|
|
|
# CHECK: if (!p3) r17 = memuh(r21 + #42)
|
|
|
|
0x03 0x40 0x45 0x85 0xb1 0xda 0x75 0x43
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (p3.new) r17 = memuh(r21 + #42)
|
|
|
|
0x03 0x40 0x45 0x85 0xb1 0xda 0x75 0x47
|
|
|
|
# CHECK: p3 = r5
|
|
|
|
# CHECK-NEXT: if (!p3.new) r17 = memuh(r21 + #42)
|