summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/msa
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
commitec079d9e1d5bdc5372065b51dcb202c7d6bf682c (patch)
treebdc7924a4fd8e11a7bb1539e351637618d646793 /llvm/test/MC/Mips/msa
parent4cb577c614f144d25895c3bbb46d8b4f5590db17 (diff)
downloadbcm5719-llvm-ec079d9e1d5bdc5372065b51dcb202c7d6bf682c.tar.gz
bcm5719-llvm-ec079d9e1d5bdc5372065b51dcb202c7d6bf682c.zip
[mips][msa] Add fill.d instruction.
This instruction is only available on Mips64 cores that implement the MSA ASE. llvm-svn: 200400
Diffstat (limited to 'llvm/test/MC/Mips/msa')
-rw-r--r--llvm/test/MC/Mips/msa/test_2r_msa64.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/msa/test_2r_msa64.s b/llvm/test/MC/Mips/msa/test_2r_msa64.s
new file mode 100644
index 00000000000..743fb88087d
--- /dev/null
+++ b/llvm/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
OpenPOWER on IntegriCloud