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/] [frv/] [nlddu.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for nlddu @($GRi,$GRj),$GRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global nlddu
9
nlddu:
10
        set_mem_limmed  0xdead,0xbeef,sp
11
        inc_gr_immed    -4,sp
12
        set_mem_limmed  0xbeef,0xdead,sp
13
        set_gr_gr       sp,gr20
14
        set_gr_limmed   0xdead,0xbeef,gr8
15
        set_gr_limmed   0xbeef,0xdead,gr9
16
 
17
        set_gr_immed    0,gr7
18
        nlddu           @(sp,gr7),gr8
19
        test_gr_limmed  0xbeef,0xdead,gr8
20
        test_gr_limmed  0xdead,0xbeef,gr9
21
        test_gr_gr      sp,gr20
22
        test_spr_limmed 0x88a0,0x0001,nesr0
23
        test_spr_gr     neear0,gr20
24
        test_spr_limmed 0x0000,0x0000,gner1
25
        test_spr_limmed 0x0000,0x0000,gner0
26
 
27
        set_gr_limmed   0xdead,0xbeef,gr8
28
        set_gr_limmed   0xbeef,0xdead,gr9
29
        inc_gr_immed    -8,sp
30
        set_gr_immed    8,gr7
31
        nlddu           @(sp,gr7),gr8
32
        test_gr_limmed  0xbeef,0xdead,gr8
33
        test_gr_limmed  0xdead,0xbeef,gr9
34
        test_gr_gr      sp,gr20
35
        test_spr_limmed 0x88a0,0x0401,nesr1
36
        test_spr_gr     neear1,gr20
37
        test_spr_limmed 0x0000,0x0000,gner1
38
        test_spr_limmed 0x0000,0x0000,gner0
39
 
40
        set_gr_limmed   0xdead,0xbeef,gr8
41
        set_gr_limmed   0xbeef,0xdead,gr9
42
        inc_gr_immed    8,sp
43
        set_gr_immed    -8,gr7
44
        nlddu           @(sp,gr7),gr8
45
        test_gr_limmed  0xbeef,0xdead,gr8
46
        test_gr_limmed  0xdead,0xbeef,gr9
47
        test_gr_gr      sp,gr20
48
        test_spr_limmed 0x88a0,0x0801,nesr2
49
        test_spr_gr     neear2,gr20
50
        test_spr_limmed 0x0000,0x0000,gner1
51
        test_spr_limmed 0x0000,0x0000,gner0
52
 
53
        set_gr_limmed   0xdead,0xbeef,gr8
54
        set_gr_limmed   0xbeef,0xdead,gr9
55
        inc_gr_immed    8,sp
56
        set_gr_immed    -8,gr7
57
        set_gr_gr       sp,gr8
58
        nlddu           @(gr8,gr7),gr8
59
        test_gr_limmed  0xbeef,0xdead,gr8
60
        test_gr_limmed  0xdead,0xbeef,gr9
61
        test_spr_limmed 0x88a0,0x0c01,nesr3
62
        test_spr_gr     neear3,gr20
63
        test_spr_limmed 0x0000,0x0000,gner1
64
        test_spr_limmed 0x0000,0x0000,gner0
65
 
66
        pass

powered by: WebSVN 2.1.0

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