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 4 5# CHECK: clip 6# CHECKINV: error: invalid instruction 7r0 = clip(r0, #1) 8 9# CHECK: cround 10# CHECKINV: error: invalid instruction 11r1:0 = cround(r1:0, #4) 12 13# CHECK: vclip 14# CHECKINV: error: invalid instruction 15r1:0 = vclip(r1:0, #2) 16 17# CHECK: += cmpyiw 18# CHECKINV: error: invalid instruction 19r5:4 += cmpyiw(r5:4,r3:2) 20 21# CHECK: cmpyrw 22# CHECKINV: error: invalid instruction 23r5:4 = cmpyrw(r5:4,r3:2) 24 25# CHECK: cmpyrw(r7:6,r5:4):<<1:rnd:sat 26# CHECKINV: error: invalid instruction 27r7 = cmpyrw(r7:6,r5:4):<<1:rnd:sat 28