xref: /llvm-project/llvm/test/MC/LoongArch/lasx/setanyeqz.s (revision 99d74edcf5847a108744f652ca2e8f462777fa61)
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
6xvsetanyeqz.b $fcc5, $xr8
7# CHECK-INST: xvsetanyeqz.b $fcc5, $xr8
8# CHECK-ENCODING: encoding: [0x05,0xa1,0x9c,0x76]
9
10xvsetanyeqz.h $fcc5, $xr20
11# CHECK-INST: xvsetanyeqz.h $fcc5, $xr20
12# CHECK-ENCODING: encoding: [0x85,0xa6,0x9c,0x76]
13
14xvsetanyeqz.w $fcc7, $xr6
15# CHECK-INST: xvsetanyeqz.w $fcc7, $xr6
16# CHECK-ENCODING: encoding: [0xc7,0xa8,0x9c,0x76]
17
18xvsetanyeqz.d $fcc6, $xr17
19# CHECK-INST: xvsetanyeqz.d $fcc6, $xr17
20# CHECK-ENCODING: encoding: [0x26,0xae,0x9c,0x76]
21