summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2014-01-29 15:12:02 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2014-01-29 15:12:02 +0000
commit72d4223ff57f6d03d7802e100cc38634c14c70dc (patch)
tree896cea50b6e7a7956ee0ff3bc1c44cf94892dcff /test/MC
parent88390209daa6a501e010624a4328508f9b6ffd24 (diff)
downloadllvm-72d4223ff57f6d03d7802e100cc38634c14c70dc.tar.gz
llvm-72d4223ff57f6d03d7802e100cc38634c14c70dc.tar.bz2
llvm-72d4223ff57f6d03d7802e100cc38634c14c70dc.tar.xz
[mips][msa] Add fill.d instruction.
This instruction is only available on Mips64 cores that implement the MSA ASE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Mips/msa/test_2r_msa64.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/Mips/msa/test_2r_msa64.s b/test/MC/Mips/msa/test_2r_msa64.s
new file mode 100644
index 0000000000..743fb88087
--- /dev/null
+++ b/test/MC/Mips/msa/test_2r_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: fill.d $w27, $9 # encoding: [0x7b,0x03,0x4e,0xde]
+
+# CHECKOBJDUMP: fill.d $w27, $9
+
+ fill.d $w27, $9