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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for ldqi @($GRi,$GRj),$GRk
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global ldqi
10
ldqi:
11
        set_mem_limmed  0xdead,0xbeef,sp
12
        inc_gr_immed    -4,sp
13
        set_mem_limmed  0xbeef,0xdead,sp
14
        inc_gr_immed    -4,sp
15
        set_mem_limmed  0x1234,0x5678,sp
16
        inc_gr_immed    -4,sp
17
        set_mem_limmed  0x9abc,0xdef0,sp
18
        set_gr_limmed   0xdead,0xbeef,gr8
19
        set_gr_limmed   0xbeef,0xdead,gr9
20
        set_gr_limmed   0x1234,0x5678,gr10
21
        set_gr_limmed   0x9abc,0xdef0,gr11
22
 
23
        ldqi            @(sp,0),gr8
24
        test_gr_limmed  0x9abc,0xdef0,gr8
25
        test_gr_limmed  0x1234,0x5678,gr9
26
        test_gr_limmed  0xbeef,0xdead,gr10
27
        test_gr_limmed  0xdead,0xbeef,gr11
28
 
29
        set_gr_limmed   0xdead,0xbeef,gr8
30
        set_gr_limmed   0xbeef,0xdead,gr9
31
        set_gr_limmed   0x1234,0x5678,gr10
32
        set_gr_limmed   0x9abc,0xdef0,gr11
33
        inc_gr_immed    -16,sp
34
        ldqi            @(sp,16),gr8
35
        test_gr_limmed  0x9abc,0xdef0,gr8
36
        test_gr_limmed  0x1234,0x5678,gr9
37
        test_gr_limmed  0xbeef,0xdead,gr10
38
        test_gr_limmed  0xdead,0xbeef,gr11
39
 
40
        set_gr_limmed   0xdead,0xbeef,gr8
41
        set_gr_limmed   0xbeef,0xdead,gr9
42
        set_gr_limmed   0x1234,0x5678,gr10
43
        set_gr_limmed   0x9abc,0xdef0,gr11
44
        inc_gr_immed    32,sp
45
        ldqi            @(sp,-16),gr8
46
        test_gr_limmed  0x9abc,0xdef0,gr8
47
        test_gr_limmed  0x1234,0x5678,gr9
48
        test_gr_limmed  0xbeef,0xdead,gr10
49
        test_gr_limmed  0xdead,0xbeef,gr11
50
 
51
        pass

powered by: WebSVN 2.1.0

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