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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for fdsqrts $FRj,$FRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        float_constants
7
        start
8
        load_float_constants
9
 
10
        .global fdsqrts
11
fdsqrts:
12
        set_fr_iimmed   0x4049,0x0fdb,fr45      ; 3.141592654
13
        fdsqrts         fr44,fr2                ; 9.0
14
        test_fr_fr      fr2,fr36                ; 3.0
15
        test_fr_iimmed  0x3fe2dfc5,fr3          ; 1.7724539
16
 
17
        pass

powered by: WebSVN 2.1.0

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