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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [fitod.cgs] - Blame information for rev 450

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for fitod $FRj,$FRk
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global fitod
10
fitod:
11
        set_fr_iimmed   0,0,fr2
12
        fitod           fr2,fr2
13
        test_fr_iimmed  0,fr2
14
        test_fr_iimmed  0,fr3
15
 
16
        set_fr_iimmed   0x0000,0x0002,fr2
17
        fitod           fr2,fr2
18
        test_fr_iimmed  0x40000000,fr2
19
        test_fr_iimmed  0x00000000,fr3
20
 
21
        set_fr_iimmed   0xdead,0xbeef,fr2
22
        fitod           fr2,fr2
23
        test_fr_iimmed  0xc1c0a920,fr2
24
        test_fr_iimmed  0x88800000,fr3
25
 
26
        pass

powered by: WebSVN 2.1.0

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