1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/Hexagon/v62_jumps.s
Krzysztof Parzyszek 5f0b4b1ff0 [Hexagon] Introduce Hexagon V62
llvm-svn: 294805
2017-02-10 23:46:45 +00:00

14 lines
407 B
ArmAsm

# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv62 -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv62 -d - | FileCheck %s
# verify compound is split into single instructions if needed
{
p0=cmp.eq(R1:0,R3:2)
if (!p0.new) jump:nt ltmp
r0=r1 ; jump ltmp
}
# CHECK: 5c204800 { if (!p0.new) jump:nt
# CHECK: d2804200 p0 = cmp.eq(r1:0,r3:2)
# CHECK: 58004000 jump
# CHECK: 7061c000 r0 = r1 }