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/] [frv/] [fsqrtd.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for fsqrtd $FRj,$FRk
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        double_constants
8
        start
9
        load_double_constants
10
 
11
        .global fsqrtd
12
fsqrtd:
13
        fsqrtd          fr44,fr2                ; 9.0
14
        test_dfr_dfr    fr2,fr36                ; 3.0
15
 
16
        set_fr_iimmed   0x4009,0x21fb,fr10      ; 3.141592654
17
        set_fr_iimmed   0x6000,0x0000,fr11
18
        fsqrtd          fr10,fr10
19
        test_fr_iimmed  0x3ffc5bf8,fr10         ; 1.7724539
20
        test_fr_iimmed  0x9853a94d,fr11
21
 
22
        pass

powered by: WebSVN 2.1.0

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