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/] [sh/] [fschg.s] - Blame information for rev 272

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for fschg
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
        fschg
13
        sts     fpscr, r0
14
        assertreg0      0x100000
15
        fschg
16
        sts     fpscr, r0
17
        assertreg0      0
18
        fschg
19
        sts     fpscr, r0
20
        assertreg0      0x100000
21
        fschg
22
        sts     fpscr, r0
23
        assertreg0      0
24
 
25
        set_greg 0xa5a5a5a5 r0
26
        test_grs_a5a5
27
        test_fprs_a5a5
28
        pass
29
        exit 0

powered by: WebSVN 2.1.0

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