Debian Codegraph @

llvm/test/MC/LoongArch/lasx/replve0.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 xvreplve0.b $xr11, $xr20
7 # CHECK-INST: xvreplve0.b $xr11, $xr20
8 # CHECK-ENCODING: encoding: [0x8b,0x02,0x07,0x77]
9
10 xvreplve0.h $xr13, $xr26
11 # CHECK-INST: xvreplve0.h $xr13, $xr26
12 # CHECK-ENCODING: encoding: [0x4d,0x83,0x07,0x77]
13
14 xvreplve0.w $xr8, $xr12
15 # CHECK-INST: xvreplve0.w $xr8, $xr12
16 # CHECK-ENCODING: encoding: [0x88,0xc1,0x07,0x77]
17
18 xvreplve0.d $xr20, $xr4
19 # CHECK-INST: xvreplve0.d $xr20, $xr4
20 # CHECK-ENCODING: encoding: [0x94,0xe0,0x07,0x77]
21
22 xvreplve0.q $xr17, $xr20
23 # CHECK-INST: xvreplve0.q $xr17, $xr20
24 # CHECK-ENCODING: encoding: [0x91,0xf2,0x07,0x77]