symver11.s: Add ".balign 8"
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips32-cp2.s
CommitLineData
a6d8f55b
AN
1# source file to test assembly of mips32 cop2 instructions
2
3 .set noreorder
4 .set noat
5
6 .text
7text_label:
8 # unprivileged coprocessor instructions.
9 # these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
10
7361da2c 11 .ifndef r6
a6d8f55b
AN
12 bc2f text_label
13 nop
14 bc2fl text_label
15 nop
16 bc2t text_label
17 nop
18 bc2tl text_label
19 nop
7361da2c 20 .endif
a6d8f55b
AN
21 # XXX other BCzCond encodings not currently expressable
22 cfc2 $1, $2
23 cop2 0x1234567 # disassembles as c2 ...
24 ctc2 $2, $3
25 mfc2 $3, $4
26 mfc2 $4, $5, 0 # disassembles without sel
27 mfc2 $5, $6, 7
28 mtc2 $6, $7
29 mtc2 $7, $8, 0 # disassembles without sel
30 mtc2 $8, $9, 7
31
32
7361da2c 33 .ifndef r6
a6d8f55b
AN
34 # Cop2 branches with cond code number, like bc1t/f
35 bc2f $cc0,text_label
36 nop
37 bc2fl $cc1,text_label
38 nop
39 bc2t $cc6,text_label
40 nop
41 bc2tl $cc7,text_label
42 nop
7361da2c 43 .endif
This page took 0.561516 seconds and 4 git commands to generate.