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