| 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 |
xvfmina.s $xr29, $xr27, $xr17 |
| 7 |
# CHECK-INST: xvfmina.s $xr29, $xr27, $xr17 |
| 8 |
# CHECK-ENCODING: encoding: [0x7d,0xc7,0x42,0x75] |
| 9 |
|
| 10 |
xvfmina.d $xr12, $xr20, $xr18 |
| 11 |
# CHECK-INST: xvfmina.d $xr12, $xr20, $xr18 |
| 12 |
# CHECK-ENCODING: encoding: [0x8c,0x4a,0x43,0x75] |