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/] [fr30/] [inte.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# fr30 testcase for inte
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global inte
10
inte:
11
        ; Test inte which is essentially int #9
12
        mvr_h_gr        tbr,r7
13
        inci_h_gr       0x3d8,r7
14
        mvi_h_mem       pass,r7
15
        mvi_h_gr        doint,r9
16
        inci_h_gr       2,r9
17
        mvr_h_gr        ssp,r10
18
        set_cc          0x0f            ; Condition codes should not change
19
        set_s_user                      ; Set opposite of expected
20
        set_i           1               ; Should not change
21
        mvr_h_gr        ps,r8
22
doint:  inte
23
        fail
24
 
25
pass:
26
        test_cc         1 1 1 1
27
        test_ilm        4
28
        test_s_system
29
        test_i          1
30
        inci_h_gr       -4,r10
31
        testr_h_mem     r8,r10
32
        inci_h_gr       -4,r10
33
        testr_h_mem     r9,r10
34
        testr_h_dr      r10,ssp
35
 
36
        pass

powered by: WebSVN 2.1.0

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