Debian Codegraph @

llvm/test/MC/LoongArch/lasx/replve.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 xvreplve.b $xr20, $xr16, $r11
7 # CHECK-INST: xvreplve.b $xr20, $xr16, $a7
8 # CHECK-ENCODING: encoding: [0x14,0x2e,0x22,0x75]
9
10 xvreplve.h $xr0, $xr21, $r24
11 # CHECK-INST: xvreplve.h $xr0, $xr21, $s1
12 # CHECK-ENCODING: encoding: [0xa0,0xe2,0x22,0x75]
13
14 xvreplve.w $xr20, $xr18, $r18
15 # CHECK-INST: xvreplve.w $xr20, $xr18, $t6
16 # CHECK-ENCODING: encoding: [0x54,0x4a,0x23,0x75]
17
18 xvreplve.d $xr4, $xr3, $r23
19 # CHECK-INST: xvreplve.d $xr4, $xr3, $s0
20 # CHECK-ENCODING: encoding: [0x64,0xdc,0x23,0x75]