Debian Codegraph @

llvm/test/MC/LoongArch/lasx/permi.s

raw
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
6 xvpermi.w $xr7, $xr12, 101
7 # CHECK-INST: xvpermi.w $xr7, $xr12, 101
8 # CHECK-ENCODING: encoding: [0x87,0x95,0xe5,0x77]
9
10 xvpermi.d $xr17, $xr6, 131
11 # CHECK-INST: xvpermi.d $xr17, $xr6, 131
12 # CHECK-ENCODING: encoding: [0xd1,0x0c,0xea,0x77]
13
14 xvpermi.q $xr10, $xr15, 184
15 # CHECK-INST: xvpermi.q $xr10, $xr15, 184
16 # CHECK-ENCODING: encoding: [0xea,0xe1,0xee,0x77]