From ec079d9e1d5bdc5372065b51dcb202c7d6bf682c Mon Sep 17 00:00:00 2001 From: Matheus Almeida Date: Wed, 29 Jan 2014 15:12:02 +0000 Subject: [mips][msa] Add fill.d instruction. This instruction is only available on Mips64 cores that implement the MSA ASE. llvm-svn: 200400 --- llvm/test/MC/Mips/msa/test_2r_msa64.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 llvm/test/MC/Mips/msa/test_2r_msa64.s (limited to 'llvm/test/MC/Mips/msa') 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 -- cgit v1.2.3