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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [fadd.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for fadd
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
        _clrpr
10
 
11
        fldi1 fr0
12
        fldi1 fr1
13
        fadd fr0, fr1
14
 
15
        fldi0 fr0
16
        fldi1 fr1
17
        fadd fr0, fr1
18
 
19
        fldi1 fr0
20
        fldi0 fr1
21
        fadd fr0, fr1
22
 
23
        _setpr
24
double:
25
        fldi1 fr0
26
        fldi1 fr1
27
        _s2d fr0, dr4
28
        _s2d fr1, dr6
29
        fadd dr4, dr6
30
 
31
        pass

powered by: WebSVN 2.1.0

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