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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for nfdstoi $FRj,$FRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        float_constants
7
        start
8
        load_float_constants
9
 
10
        .global nfdstoi
11
nfdstoi:
12
        set_fr_fr       fr20,fr17
13
        nfdstoi         fr16,fr2
14
        test_fr_iimmed  0,fr2
15
        test_fr_iimmed  0,fr3
16
        test_spr_immed  0,fner1
17
        test_spr_immed  0,fner0
18
 
19
        set_fr_iimmed   0xce05,0x4904,fr2
20
        set_fr_fr       fr32,fr3
21
        nfdstoi         fr2,fr2
22
        test_fr_iimmed  0xdeadbf00,fr2
23
        test_fr_iimmed  0x00000002,fr3
24
        test_spr_immed  0,fner1
25
        test_spr_immed  0,fner0
26
 
27
        ; TODO test cases to set ne flags
28
 
29
        pass

powered by: WebSVN 2.1.0

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