xref: /llvm-project/llvm/test/MC/LoongArch/lsx/setanyeqz.s (revision 12d2acdf4acc4c31e9ff483685d766b1f4f22b4e)
1# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \
2# RUN:        FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \
4# RUN:        llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST
5
6vsetanyeqz.b $fcc3, $vr4
7# CHECK-INST: vsetanyeqz.b $fcc3, $vr4
8# CHECK-ENCODING: encoding: [0x83,0xa0,0x9c,0x72]
9
10vsetanyeqz.h $fcc2, $vr15
11# CHECK-INST: vsetanyeqz.h $fcc2, $vr15
12# CHECK-ENCODING: encoding: [0xe2,0xa5,0x9c,0x72]
13
14vsetanyeqz.w $fcc4, $vr0
15# CHECK-INST: vsetanyeqz.w $fcc4, $vr0
16# CHECK-ENCODING: encoding: [0x04,0xa8,0x9c,0x72]
17
18vsetanyeqz.d $fcc3, $vr7
19# CHECK-INST: vsetanyeqz.d $fcc3, $vr7
20# CHECK-ENCODING: encoding: [0xe3,0xac,0x9c,0x72]
21