2015-10-06 17:28:48 +08:00
|
|
|
# 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)
|
2015-12-18 16:59:37 +08:00
|
|
|
0xb8 0x0e 0x30 0x7c # CHECK: shilo $ac1, 3
|
|
|
|
0xf8 0x14 0xa0 0x7c # CHECK: wrdsp $5, 2
|
|
|
|
0xf8 0xfc 0xa0 0x7c # CHECK: wrdsp $5
|