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 6vreplve.b $vr10, $vr31, $r207# CHECK-INST: vreplve.b $vr10, $vr31, $t88# CHECK-ENCODING: encoding: [0xea,0x53,0x22,0x71]9 10vreplve.h $vr8, $vr3, $r3011# CHECK-INST: vreplve.h $vr8, $vr3, $s712# CHECK-ENCODING: encoding: [0x68,0xf8,0x22,0x71]13 14vreplve.w $vr5, $vr1, $r2015# CHECK-INST: vreplve.w $vr5, $vr1, $t816# CHECK-ENCODING: encoding: [0x25,0x50,0x23,0x71]17 18vreplve.d $vr11, $vr15, $r3019# CHECK-INST: vreplve.d $vr11, $vr15, $s720# CHECK-ENCODING: encoding: [0xeb,0xf9,0x23,0x71]21