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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 227 jeremybenn
# sh testcase for frchg
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
        frchg
13
        sts     fpscr, r0
14
        assertreg0      0x200000
15
        frchg
16
        sts     fpscr, r0
17
        assertreg0      0
18
        frchg
19
        sts     fpscr, r0
20
        assertreg0      0x200000
21
        frchg
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.