[mips] Use ptr_rc to simplify definitions of base+index load/store instructions.
[oota-llvm.git] / test / MC / Disassembler / Mips / mips-dsp.txt
1 # RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s
2
3 # CHECK: mfhi $21, $ac3
4 0x10 0xa8 0x60 0x00
5
6 # CHECK: mflo $21, $ac3
7 0x12 0xa8 0x60 0x00
8
9 # CHECK: mthi $21, $ac3
10 0x11 0x18 0xa0 0x02
11
12 # CHECK: mtlo $21, $ac3
13 0x13 0x18 0xa0 0x02
14
15 # CHECK: lbux $10, $20($26)
16 0x8a 0x51 0x54 0x7f
17
18 # CHECK: lhx  $11, $21($27)
19 0x0a 0x59 0x75 0x7f
20
21 # CHECK: lwx  $12, $22($gp)
22 0x0a 0x60 0x96 0x7f