From: Zlatko Buljan Date: Fri, 16 Oct 2015 13:03:10 +0000 (+0000) Subject: Commited two test files which are forgotten during commit of patch for http://reviews... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d2f1cd8a0211304924728dab7c4fee28cb8667da;p=oota-llvm.git Commited two test files which are forgotten during commit of patch for reviews.llvm.org/D13376 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250512 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/Disassembler/Mips/micromips-dspr2/valid.txt b/test/MC/Disassembler/Mips/micromips-dspr2/valid.txt new file mode 100644 index 00000000000..1e67fca18e1 --- /dev/null +++ b/test/MC/Disassembler/Mips/micromips-dspr2/valid.txt @@ -0,0 +1,6 @@ +# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r6 -mattr=micromips -mattr=+dspr2 | FileCheck %s + +0x00 0x43 0x00 0xbc # CHECK: dpa.w.ph $ac0, $3, $2 +0x00 0xec 0xe2 0xbc # CHECK: dpaqx_s.w.ph $ac3, $12, $7 +0x00 0xc5 0x32 0xbc # CHECK: dpaqx_sa.w.ph $ac0, $5, $6 +0x00 0x22 0xd0 0xbc # CHECK: dpax.w.ph $ac3, $2, $1 diff --git a/test/MC/Mips/micromips-dspr2/valid.s b/test/MC/Mips/micromips-dspr2/valid.s new file mode 100644 index 00000000000..f1af14ac50f --- /dev/null +++ b/test/MC/Mips/micromips-dspr2/valid.s @@ -0,0 +1,7 @@ +# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 -mattr=micromips -mattr=+dspr2 | FileCheck %s + + .set noat + dpa.w.ph $ac0, $3, $2 # CHECK: dpa.w.ph $ac0, $3, $2 # encoding: [0x00,0x43,0x00,0xbc] + dpaqx_s.w.ph $ac3, $12, $7 # CHECK: dpaqx_s.w.ph $ac3, $12, $7 # encoding: [0x00,0xec,0xe2,0xbc] + dpaqx_sa.w.ph $ac0, $5, $6 # CHECK: dpaqx_sa.w.ph $ac0, $5, $6 # encoding: [0x00,0xc5,0x32,0xbc] + dpax.w.ph $ac3, $2, $1 # CHECK: dpax.w.ph $ac3, $2, $1 # encoding: [0x00,0x22,0xd0,0xbc]