17 lines · plain
1# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \2# RUN: FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \4# RUN: llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST5 6xvpermi.w $xr7, $xr12, 1017# CHECK-INST: xvpermi.w $xr7, $xr12, 1018# CHECK-ENCODING: encoding: [0x87,0x95,0xe5,0x77]9 10xvpermi.d $xr17, $xr6, 13111# CHECK-INST: xvpermi.d $xr17, $xr6, 13112# CHECK-ENCODING: encoding: [0xd1,0x0c,0xea,0x77]13 14xvpermi.q $xr10, $xr15, 18415# CHECK-INST: xvpermi.q $xr10, $xr15, 18416# CHECK-ENCODING: encoding: [0xea,0xe1,0xee,0x77]17