| 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 |
xvpickve.w $xr25, $xr28, 1 |
| 7 |
# CHECK-INST: xvpickve.w $xr25, $xr28, 1 |
| 8 |
# CHECK-ENCODING: encoding: [0x99,0xc7,0x03,0x77] |
| 9 |
|
| 10 |
xvpickve.d $xr13, $xr1, 0 |
| 11 |
# CHECK-INST: xvpickve.d $xr13, $xr1, 0 |
| 12 |
# CHECK-ENCODING: encoding: [0x2d,0xe0,0x03,0x77] |