llvm-for-llvmta/test/MC/Hexagon/PacketRules/restrict_slot1_aok.s

10 lines
350 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -arch=hexagon -filetype=asm %s 2>&1 | FileCheck %s
{ r0=sub(#1,r0)
r1=sub(#1, r0)
r2=memw(r0)
dczeroa(r0) }
# CHECK: 5:3: note: Instruction was restricted from being in slot 1
# CHECK: 6:3: note: Instruction can only be combined with an ALU instruction in slot 1
# CHECK: 6:15: error: invalid instruction packet: slot error