bolt/deps/llvm-18.1.8/llvm/test/MC/LoongArch/lasx/fmax.s

13 lines
504 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \
# RUN: FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \
# RUN: llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST
xvfmax.s $xr29, $xr24, $xr8
# CHECK-INST: xvfmax.s $xr29, $xr24, $xr8
# CHECK-ENCODING: encoding: [0x1d,0xa3,0x3c,0x75]
xvfmax.d $xr31, $xr25, $xr23
# CHECK-INST: xvfmax.d $xr31, $xr25, $xr23
# CHECK-ENCODING: encoding: [0x3f,0x5f,0x3d,0x75]