| 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 |
xvfmaxa.s $xr15, $xr18, $xr5 |
| 7 |
# CHECK-INST: xvfmaxa.s $xr15, $xr18, $xr5 |
| 8 |
# CHECK-ENCODING: encoding: [0x4f,0x96,0x40,0x75] |
| 9 |
|
| 10 |
xvfmaxa.d $xr2, $xr20, $xr29 |
| 11 |
# CHECK-INST: xvfmaxa.d $xr2, $xr20, $xr29 |
| 12 |
# CHECK-ENCODING: encoding: [0x82,0x76,0x41,0x75] |