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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [fsqrts.cgs] - Rev 373

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

# frv testcase for fsqrts $FRj,$FRk
# mach: fr500 fr550 frv

        .include "testutils.inc"

        float_constants
        start
        load_float_constants

        .global fsqrts
fsqrts:
        fsqrts          fr44,fr1                ; 9.0
        test_fr_fr      fr1,fr36                ; 3.0

        set_fr_iimmed   0x4049,0x0fdb,fr10      ; 3.141592654
        fsqrts          fr10,fr10
        test_fr_iimmed  0x3fe2dfc5,fr10         ; 1.7724539

        pass

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

powered by: WebSVN 2.1.0

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