| 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 |
xvfrecip.s $xr3, $xr16 |
| 7 |
# CHECK-INST: xvfrecip.s $xr3, $xr16 |
| 8 |
# CHECK-ENCODING: encoding: [0x03,0xf6,0x9c,0x76] |
| 9 |
|
| 10 |
xvfrecip.d $xr17, $xr24 |
| 11 |
# CHECK-INST: xvfrecip.d $xr17, $xr24 |
| 12 |
# CHECK-ENCODING: encoding: [0x11,0xfb,0x9c,0x76] |
| 13 |
|
| 14 |
xvfrecipe.s $xr3, $xr16 |
| 15 |
# CHECK-INST: xvfrecipe.s $xr3, $xr16 |
| 16 |
# CHECK-ENCODING: encoding: [0x03,0x16,0x9d,0x76] |
| 17 |
|
| 18 |
xvfrecipe.d $xr17, $xr24 |
| 19 |
# CHECK-INST: xvfrecipe.d $xr17, $xr24 |
| 20 |
# CHECK-ENCODING: encoding: [0x11,0x1b,0x9d,0x76] |