llvm/test/MC/LoongArch/lsx/flogb.s
raw| 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 | vflogb.s $vr12, $vr20 |
| 7 | # CHECK-INST: vflogb.s $vr12, $vr20 |
| 8 | # CHECK-ENCODING: encoding: [0x8c,0xc6,0x9c,0x72] |
| 9 | |
| 10 | vflogb.d $vr3, $vr29 |
| 11 | # CHECK-INST: vflogb.d $vr3, $vr29 |
| 12 | # CHECK-ENCODING: encoding: [0xa3,0xcb,0x9c,0x72] |