Debian Codegraph @

llvm/test/MC/LoongArch/lasx/ld.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 xvld $xr3, $r3, -658
7 # CHECK-INST: xvld $xr3, $sp, -658
8 # CHECK-ENCODING: encoding: [0x63,0xb8,0xb5,0x2c]
9
10 xvldx $xr23, $r9, $r14
11 # CHECK-INST: xvldx $xr23, $a5, $t2
12 # CHECK-ENCODING: encoding: [0x37,0x39,0x48,0x38]