21 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 6xvreplve.b $xr20, $xr16, $r117# CHECK-INST: xvreplve.b $xr20, $xr16, $a78# CHECK-ENCODING: encoding: [0x14,0x2e,0x22,0x75]9 10xvreplve.h $xr0, $xr21, $r2411# CHECK-INST: xvreplve.h $xr0, $xr21, $s112# CHECK-ENCODING: encoding: [0xa0,0xe2,0x22,0x75]13 14xvreplve.w $xr20, $xr18, $r1815# CHECK-INST: xvreplve.w $xr20, $xr18, $t616# CHECK-ENCODING: encoding: [0x54,0x4a,0x23,0x75]17 18xvreplve.d $xr4, $xr3, $r2319# CHECK-INST: xvreplve.d $xr4, $xr3, $s020# CHECK-ENCODING: encoding: [0x64,0xdc,0x23,0x75]21