OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [fstoi.cgs] - Rev 272

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

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

        .include "testutils.inc"

        float_constants
        start
        load_float_constants

        .global fstoi
fstoi:
        fstoi           fr16,fr1
        test_fr_iimmed  0,fr1
        fstoi           fr20,fr1
        test_fr_iimmed  0,fr1

        fstoi           fr32,fr1
        test_fr_iimmed  0x00000002,fr1

        set_fr_iimmed   0xce05,0x4904,fr1
        fstoi           fr1,fr1
        test_fr_iimmed  0xdeadbf00,fr1

        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.