llvm.org GIT mirror llvm / 90e50f7
[mips][disassembler] Moved DSP tests into proper place and corrected formatting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249383 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 4 years ago
2 changed file(s) with 9 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
0 # RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s
1
2 0x10 0xa8 0x60 0x00 # CHECK: mfhi $21, $ac3
3 0x12 0xa8 0x60 0x00 # CHECK: mflo $21, $ac3
4 0x11 0x18 0xa0 0x02 # CHECK: mthi $21, $ac3
5 0x13 0x18 0xa0 0x02 # CHECK: mtlo $21, $ac3
6 0x8a 0x51 0x54 0x7f # CHECK: lbux $10, $20($26)
7 0x0a 0x59 0x75 0x7f # CHECK: lhx $11, $21($27)
8 0x0a 0x60 0x96 0x7f # CHECK: lwx $12, $22($gp)
+0
-22
test/MC/Disassembler/Mips/mips-dsp.txt less more
None # RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s
1
2 # CHECK: mfhi $21, $ac3
3 0x10 0xa8 0x60 0x00
4
5 # CHECK: mflo $21, $ac3
6 0x12 0xa8 0x60 0x00
7
8 # CHECK: mthi $21, $ac3
9 0x11 0x18 0xa0 0x02
10
11 # CHECK: mtlo $21, $ac3
12 0x13 0x18 0xa0 0x02
13
14 # CHECK: lbux $10, $20($26)
15 0x8a 0x51 0x54 0x7f
16
17 # CHECK: lhx $11, $21($27)
18 0x0a 0x59 0x75 0x7f
19
20 # CHECK: lwx $12, $22($gp)
21 0x0a 0x60 0x96 0x7f