1 # RUN: llvm-mc -filetype=asm -triple=hexagon-unknown-elf -mcpu=hexagonv67t %s | FileCheck %s
2 # RUN: llvm-mc -filetype=asm -triple=hexagon-unknown-elf -mcpu=hexagonv67 -mattr=+audio %s | FileCheck %s
3 # RUN: not llvm-mc -filetype=asm -triple=hexagon-unknown-elf -mcpu=hexagonv67 %s 2>&1 | FileCheck -check-prefix=CHECKINV %s
6 # CHECKINV: error: invalid instruction
10 # CHECKINV: error: invalid instruction
11 r1:0 = cround
(r1:0, #4)
14 # CHECKINV: error: invalid instruction
15 r1:0 = vclip
(r1:0, #2)
18 # CHECKINV: error: invalid instruction
19 r5:4 += cmpyiw
(r5:4,r3:2)
22 # CHECKINV: error: invalid instruction
23 r5:4 = cmpyrw
(r5:4,r3:2)
25 # CHECK: cmpyrw(r7:6,r5:4):<<1:rnd:sat
26 # CHECKINV: error: invalid instruction
27 r7 = cmpyrw
(r7:6,r5:4):<<1:rnd
:sat