llvm/test/MC/LoongArch/lasx/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 | xvflogb.s $xr17, $xr12 |
| 7 | # CHECK-INST: xvflogb.s $xr17, $xr12 |
| 8 | # CHECK-ENCODING: encoding: [0x91,0xc5,0x9c,0x76] |
| 9 | |
| 10 | xvflogb.d $xr26, $xr1 |
| 11 | # CHECK-INST: xvflogb.d $xr26, $xr1 |
| 12 | # CHECK-ENCODING: encoding: [0x3a,0xc8,0x9c,0x76] |