[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / Hexagon / audio.s
blob0330dd24218f025711054208b62a3f9767843d6d
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
5 # CHECK: clip
6 # CHECKINV: error: invalid instruction
7 r0 = clip(r0, #1)
9 # CHECK: cround
10 # CHECKINV: error: invalid instruction
11 r1:0 = cround(r1:0, #4)
13 # CHECK: vclip
14 # CHECKINV: error: invalid instruction
15 r1:0 = vclip(r1:0, #2)
17 # CHECK: += cmpyiw
18 # CHECKINV: error: invalid instruction
19 r5:4 += cmpyiw(r5:4,r3:2)
21 # CHECK: cmpyrw
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