Commit | Line | Data |
---|---|---|
a6d8f55b AN |
1 | # source file to test assembly of mips64 cop2 instructions |
2 | ||
3 | .set noreorder | |
4 | .set noat | |
5 | ||
6 | .globl text_label .text | |
7 | text_label: | |
8 | ||
9 | # unprivileged coprocessor instructions. | |
10 | # these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes. | |
11 | ||
12 | dmfc2 $3, $4 | |
13 | dmfc2 $4, $5, 0 # disassembles without sel | |
14 | dmfc2 $5, $6, 7 | |
15 | dmtc2 $6, $7 | |
16 | dmtc2 $7, $8, 0 # disassembles without sel | |
17 | dmtc2 $8, $9, 7 |