From 31bfdb5a82b2af9e0f0a6a323df99f0156733294 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Tue, 6 Oct 2015 09:28:48 +0000 Subject: [PATCH] [mips][disassembler] Moved DSP tests into proper place and corrected formatting. llvm-svn: 249383 --- .../MC/Disassembler/Mips/dsp/valid-el.txt | 9 ++++++++ llvm/test/MC/Disassembler/Mips/mips-dsp.txt | 22 ------------------- 2 files changed, 9 insertions(+), 22 deletions(-) create mode 100644 llvm/test/MC/Disassembler/Mips/dsp/valid-el.txt delete mode 100644 llvm/test/MC/Disassembler/Mips/mips-dsp.txt diff --git a/llvm/test/MC/Disassembler/Mips/dsp/valid-el.txt b/llvm/test/MC/Disassembler/Mips/dsp/valid-el.txt new file mode 100644 index 000000000000..f7efe34671b5 --- /dev/null +++ b/llvm/test/MC/Disassembler/Mips/dsp/valid-el.txt @@ -0,0 +1,9 @@ +# RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s + +0x10 0xa8 0x60 0x00 # CHECK: mfhi $21, $ac3 +0x12 0xa8 0x60 0x00 # CHECK: mflo $21, $ac3 +0x11 0x18 0xa0 0x02 # CHECK: mthi $21, $ac3 +0x13 0x18 0xa0 0x02 # CHECK: mtlo $21, $ac3 +0x8a 0x51 0x54 0x7f # CHECK: lbux $10, $20($26) +0x0a 0x59 0x75 0x7f # CHECK: lhx $11, $21($27) +0x0a 0x60 0x96 0x7f # CHECK: lwx $12, $22($gp) diff --git a/llvm/test/MC/Disassembler/Mips/mips-dsp.txt b/llvm/test/MC/Disassembler/Mips/mips-dsp.txt deleted file mode 100644 index 3f60ae1f8e65..000000000000 --- a/llvm/test/MC/Disassembler/Mips/mips-dsp.txt +++ /dev/null @@ -1,22 +0,0 @@ -# RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s - -# CHECK: mfhi $21, $ac3 -0x10 0xa8 0x60 0x00 - -# CHECK: mflo $21, $ac3 -0x12 0xa8 0x60 0x00 - -# CHECK: mthi $21, $ac3 -0x11 0x18 0xa0 0x02 - -# CHECK: mtlo $21, $ac3 -0x13 0x18 0xa0 0x02 - -# CHECK: lbux $10, $20($26) -0x8a 0x51 0x54 0x7f - -# CHECK: lhx $11, $21($27) -0x0a 0x59 0x75 0x7f - -# CHECK: lwx $12, $22($gp) -0x0a 0x60 0x96 0x7f