bfd/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips4.s
CommitLineData
252b5132
RH
1# Source file used to test -mips4 instructions.
2
3text_label:
4 bc1f text_label
5 bc1f $fcc1,text_label
6 bc1fl $fcc1,text_label
7 bc1t $fcc1,text_label
8 bc1tl $fcc2,text_label
9 c.f.d $f4,$f6
10 c.f.d $fcc1,$f4,$f6
11 ldxc1 $f2,$4($5)
12 lwxc1 $f2,$4($5)
13 madd.d $f0,$f2,$f4,$f6
2f2760a3
TS
14 # This choice of arguments is so that it matches bc3f on pre-mips4.
15 madd.s $f10,$f8,$f2,$f0
252b5132
RH
16 movf $4,$5,$fcc4
17 movf.d $f4,$f6,$fcc0
18 movf.s $f4,$f6,$fcc0
19 movn $4,$6,$6
b892b944
TS
20 movn.d $f4,$f6,$6
21 movn.s $f4,$f6,$6
252b5132
RH
22 movt $4,$5,$fcc4
23 movt.d $f4,$f6,$fcc0
24 movt.s $f4,$f6,$fcc0
25 movz $4,$6,$6
b892b944
TS
26 movz.d $f4,$f6,$6
27 movz.s $f4,$f6,$6
252b5132
RH
28 msub.d $f0,$f2,$f4,$f6
29 msub.s $f0,$f2,$f4,$f6
30 nmadd.d $f0,$f2,$f4,$f6
31 nmadd.s $f0,$f2,$f4,$f6
32 nmsub.d $f0,$f2,$f4,$f6
33 nmsub.s $f0,$f2,$f4,$f6
2f2760a3
TS
34 # It used to be disabled due to a clash with lwc3.
35 pref 4,0($4)
252b5132
RH
36 prefx 4,$4($5)
37 recip.d $f4,$f6
38 recip.s $f4,$f6
39 rsqrt.d $f4,$f6
40 rsqrt.s $f4,$f6
41 sdxc1 $f4,$4($5)
42 swxc1 $f4,$4($5)
43
44# Round to a 16 byte boundary, for ease in testing multiple targets.
45 nop
46 nop
47 nop
This page took 0.293332 seconds and 4 git commands to generate.