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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh/] [fpchg.s] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# sh testcase for fpchg
2
# mach: sh
3
# as(sh):       -defsym sim_cpu=0
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
        set_grs_a5a5
9
        set_fprs_a5a5
10
        sts     fpscr, r0
11
        assertreg0      0
12
        fpchg
13
        sts     fpscr, r0
14
        assertreg0      0x80000
15
        fpchg
16
        sts     fpscr, r0
17
        assertreg0      0
18
        fpchg
19
        sts     fpscr, r0
20
        assertreg0      0x80000
21
        fpchg
22
        sts     fpscr, r0
23
        assertreg0      0
24
 
25
        set_greg        0xa5a5a5a5, r0
26
        test_grs_a5a5
27
        test_fprs_a5a5
28
 
29
        pass
30
        exit 0

powered by: WebSVN 2.1.0

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