Debian Codegraph @

llvm/test/MC/LoongArch/lasx/insve0.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 xvinsve0.w $xr6, $xr1, 7
7 # CHECK-INST: xvinsve0.w $xr6, $xr1, 7
8 # CHECK-ENCODING: encoding: [0x26,0xdc,0xff,0x76]
9
10 xvinsve0.d $xr28, $xr1, 0
11 # CHECK-INST: xvinsve0.d $xr28, $xr1, 0
12 # CHECK-ENCODING: encoding: [0x3c,0xe0,0xff,0x76]