| 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 |
xvfmul.s $xr9, $xr14, $xr30 |
| 7 |
# CHECK-INST: xvfmul.s $xr9, $xr14, $xr30 |
| 8 |
# CHECK-ENCODING: encoding: [0xc9,0xf9,0x38,0x75] |
| 9 |
|
| 10 |
xvfmul.d $xr28, $xr26, $xr19 |
| 11 |
# CHECK-INST: xvfmul.d $xr28, $xr26, $xr19 |
| 12 |
# CHECK-ENCODING: encoding: [0x5c,0x4f,0x39,0x75] |