1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/Hexagon/smallcore_dis.s

13 lines
454 B
ArmAsm

# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv67t -filetype=obj %s | llvm-objdump -d - | FileCheck %s
# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv67t -filetype=obj %s | llvm-objdump -mv67t -d - | FileCheck %s
# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv67t -filetype=obj %s | llvm-objdump -mcpu=hexagonv67t -d - | FileCheck %s
.text
{
r1 = memb(r0)
if (p0) memb(r0) = r2
}
# CHECK: { r1 = memb(r0+#0)
# CHECK-NEXT: if (p0) memb(r0+#0) = r2 }