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

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

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

powered by: WebSVN 2.1.0

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