OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [mips4-fp.s] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# Source file used to test -mips4 fp instructions.
2
 
3
text_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
14
        # This choice of arguments is so that it matches bc3f on pre-mips4.
15
        madd.s  $f10,$f8,$f2,$f0
16
        movf    $4,$5,$fcc4
17
        movf.d  $f4,$f6,$fcc0
18
        movf.s  $f4,$f6,$fcc0
19
        movn.d  $f4,$f6,$6
20
        movn.s  $f4,$f6,$6
21
        movt    $4,$5,$fcc4
22
        movt.d  $f4,$f6,$fcc0
23
        movt.s  $f4,$f6,$fcc0
24
        movz.d  $f4,$f6,$6
25
        movz.s  $f4,$f6,$6
26
        msub.d  $f0,$f2,$f4,$f6
27
        msub.s  $f0,$f2,$f4,$f6
28
        nmadd.d $f0,$f2,$f4,$f6
29
        nmadd.s $f0,$f2,$f4,$f6
30
        nmsub.d $f0,$f2,$f4,$f6
31
        nmsub.s $f0,$f2,$f4,$f6
32
        # It used to be disabled due to a clash with lwc3.
33
        prefx   4,$4($5)
34
        recip.d $f4,$f6
35
        recip.s $f4,$f6
36
        rsqrt.d $f4,$f6
37
        rsqrt.s $f4,$f6
38
        sdxc1   $f4,$4($5)
39
        swxc1   $f4,$4($5)
40
 
41
# Round to a 16 byte boundary, for ease in testing multiple targets.
42
        nop
43
        nop
44
        nop

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.