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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [lddu.cgs] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for lddu @($GRi,$GRj),$GRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global lddu
9
lddu:
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
        lddu            @(sp,gr7),gr8
19
        test_gr_limmed  0xbeef,0xdead,gr8
20
        test_gr_limmed  0xdead,0xbeef,gr9
21
        test_gr_gr      sp,gr20
22
 
23
        set_gr_limmed   0xdead,0xbeef,gr8
24
        set_gr_limmed   0xbeef,0xdead,gr9
25
        inc_gr_immed    -8,sp
26
        set_gr_immed    8,gr7
27
        lddu            @(sp,gr7),gr8
28
        test_gr_limmed  0xbeef,0xdead,gr8
29
        test_gr_limmed  0xdead,0xbeef,gr9
30
        test_gr_gr      sp,gr20
31
 
32
        set_gr_limmed   0xdead,0xbeef,gr8
33
        set_gr_limmed   0xbeef,0xdead,gr9
34
        inc_gr_immed    8,sp
35
        set_gr_immed    -8,gr7
36
        lddu            @(sp,gr7),gr8
37
        test_gr_limmed  0xbeef,0xdead,gr8
38
        test_gr_limmed  0xdead,0xbeef,gr9
39
        test_gr_gr      sp,gr20
40
 
41
        set_gr_limmed   0xdead,0xbeef,gr8
42
        set_gr_limmed   0xbeef,0xdead,gr9
43
        inc_gr_immed    8,sp
44
        set_gr_immed    -8,gr7
45
        set_gr_gr       sp,gr8
46
        lddu            @(gr8,gr7),gr8
47
        test_gr_limmed  0xbeef,0xdead,gr8
48
        test_gr_limmed  0xdead,0xbeef,gr9
49
 
50
        pass

powered by: WebSVN 2.1.0

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