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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 227 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.