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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [fdstoi.cgs] - Blame information for rev 227

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

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for fdstoi $FRj,$FRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        float_constants
7
        start
8
        load_float_constants
9
 
10
        .global fdstoi
11
fdstoi:
12
        set_fr_fr       fr20,fr17
13
        fdstoi          fr16,fr2
14
        test_fr_iimmed  0,fr2
15
        test_fr_iimmed  0,fr3
16
 
17
        set_fr_iimmed   0xce05,0x4904,fr2
18
        set_fr_fr       fr32,fr3
19
        fdstoi          fr2,fr2
20
        test_fr_iimmed  0xdeadbf00,fr2
21
        test_fr_iimmed  0x00000002,fr3
22
 
23
        pass

powered by: WebSVN 2.1.0

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