| 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 |
xvfmax.s $xr29, $xr24, $xr8 |
| 7 |
# CHECK-INST: xvfmax.s $xr29, $xr24, $xr8 |
| 8 |
# CHECK-ENCODING: encoding: [0x1d,0xa3,0x3c,0x75] |
| 9 |
|
| 10 |
xvfmax.d $xr31, $xr25, $xr23 |
| 11 |
# CHECK-INST: xvfmax.d $xr31, $xr25, $xr23 |
| 12 |
# CHECK-ENCODING: encoding: [0x3f,0x5f,0x3d,0x75] |