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

17 lines
633 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
xvsrln.b.h $xr7, $xr13, $xr5
# CHECK-INST: xvsrln.b.h $xr7, $xr13, $xr5
# CHECK-ENCODING: encoding: [0xa7,0x95,0xf4,0x74]
xvsrln.h.w $xr6, $xr18, $xr5
# CHECK-INST: xvsrln.h.w $xr6, $xr18, $xr5
# CHECK-ENCODING: encoding: [0x46,0x16,0xf5,0x74]
xvsrln.w.d $xr12, $xr12, $xr28
# CHECK-INST: xvsrln.w.d $xr12, $xr12, $xr28
# CHECK-ENCODING: encoding: [0x8c,0xf1,0xf5,0x74]