| 1 | # Source file used to test -mips4 fp instructions. |
| 2 | |
| 3 | text_label: |
| 4 | bc1f text_label |
| 5 | bc1f $fcc1,text_label |
| 6 | bc1t $fcc1,text_label |
| 7 | c.f.d $f4,$f6 |
| 8 | c.f.d $fcc1,$f4,$f6 |
| 9 | ldxc1 $f2,$4($5) |
| 10 | lwxc1 $f2,$4($5) |
| 11 | madd.d $f0,$f2,$f4,$f6 |
| 12 | # This choice of arguments is so that it matches bc3f on pre-mips4. |
| 13 | madd.s $f10,$f8,$f2,$f0 |
| 14 | movf $4,$5,$fcc4 |
| 15 | movf.d $f4,$f6,$fcc0 |
| 16 | movf.s $f4,$f6,$fcc0 |
| 17 | movn.d $f4,$f6,$6 |
| 18 | movn.s $f4,$f6,$6 |
| 19 | movt $4,$5,$fcc4 |
| 20 | movt.d $f4,$f6,$fcc0 |
| 21 | movt.s $f4,$f6,$fcc0 |
| 22 | movz.d $f4,$f6,$6 |
| 23 | movz.s $f4,$f6,$6 |
| 24 | msub.d $f0,$f2,$f4,$f6 |
| 25 | msub.s $f0,$f2,$f4,$f6 |
| 26 | nmadd.d $f0,$f2,$f4,$f6 |
| 27 | nmadd.s $f0,$f2,$f4,$f6 |
| 28 | nmsub.d $f0,$f2,$f4,$f6 |
| 29 | nmsub.s $f0,$f2,$f4,$f6 |
| 30 | # It used to be disabled due to a clash with lwc3. |
| 31 | prefx 4,$4($5) |
| 32 | recip.d $f4,$f6 |
| 33 | recip.s $f4,$f6 |
| 34 | rsqrt.d $f4,$f6 |
| 35 | rsqrt.s $f4,$f6 |
| 36 | sdxc1 $f4,$4($5) |
| 37 | swxc1 $f4,$4($5) |
| 38 | |
| 39 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... |
| 40 | .align 2 |
| 41 | .space 8 |