| 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 |
xvldrepl.b $xr19, $r21, 1892 |
| 7 |
# CHECK-INST: xvldrepl.b $xr19, $r21, 1892 |
| 8 |
# CHECK-ENCODING: encoding: [0xb3,0x92,0x9d,0x32] |
| 9 |
|
| 10 |
xvldrepl.h $xr0, $r17, 1762 |
| 11 |
# CHECK-INST: xvldrepl.h $xr0, $t5, 1762 |
| 12 |
# CHECK-ENCODING: encoding: [0x20,0xc6,0x4d,0x32] |
| 13 |
|
| 14 |
xvldrepl.w $xr11, $r26, -1524 |
| 15 |
# CHECK-INST: xvldrepl.w $xr11, $s3, -1524 |
| 16 |
# CHECK-ENCODING: encoding: [0x4b,0x0f,0x2a,0x32] |
| 17 |
|
| 18 |
xvldrepl.d $xr28, $r12, 1976 |
| 19 |
# CHECK-INST: xvldrepl.d $xr28, $t0, 1976 |
| 20 |
# CHECK-ENCODING: encoding: [0x9c,0xdd,0x13,0x32] |