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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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