diff options
Diffstat (limited to 'test/MC/Mips/msa/test_elm_insert_msa64.s')
-rw-r--r-- | test/MC/Mips/msa/test_elm_insert_msa64.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/Mips/msa/test_elm_insert_msa64.s b/test/MC/Mips/msa/test_elm_insert_msa64.s new file mode 100644 index 0000000000..8196fd0513 --- /dev/null +++ b/test/MC/Mips/msa/test_elm_insert_msa64.s @@ -0,0 +1,11 @@ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -show-encoding | FileCheck %s +# +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -filetype=obj -o - | \ +# RUN: llvm-objdump -d -arch=mips64 -mattr=+msa - | \ +# RUN: FileCheck %s -check-prefix=CHECKOBJDUMP +# +# CHECK: insert.d $w1[1], $sp # encoding: [0x79,0x39,0xe8,0x59] + +# CHECKOBJDUMP: insert.d $w1[1], $sp + + insert.d $w1[1], $sp |