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/] [ldqcu.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 ldqcu @($GRi,$GRj),$GRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global ldqcu
9
ldqcu:
10
        set_mem_limmed  0xdead,0xbeef,sp
11
        inc_gr_immed    -4,sp
12
        set_mem_limmed  0xbeef,0xdead,sp
13
        inc_gr_immed    -4,sp
14
        set_mem_limmed  0x1234,0x5678,sp
15
        inc_gr_immed    -4,sp
16
        set_mem_limmed  0x9abc,0xdef0,sp
17
        set_gr_gr       sp,gr20
18
        set_cpr_limmed  0xdead,0xbeef,cpr8
19
        set_cpr_limmed  0xbeef,0xdead,cpr9
20
        set_cpr_limmed  0x1234,0x5678,cpr10
21
        set_cpr_limmed  0x9abc,0xdef0,cpr11
22
 
23
        set_gr_immed    0,gr7
24
        ldqcu           @(sp,gr7),cpr8
25
        test_cpr_limmed 0x9abc,0xdef0,cpr8
26
        test_cpr_limmed 0x1234,0x5678,cpr9
27
        test_cpr_limmed 0xbeef,0xdead,cpr10
28
        test_cpr_limmed 0xdead,0xbeef,cpr11
29
        test_gr_gr      sp,gr20
30
 
31
        set_cpr_limmed  0xdead,0xbeef,cpr8
32
        set_cpr_limmed  0xbeef,0xdead,cpr9
33
        set_cpr_limmed  0x1234,0x5678,cpr10
34
        set_cpr_limmed  0x9abc,0xdef0,cpr11
35
        inc_gr_immed    -16,sp
36
        set_gr_immed    16,gr7
37
        ldqcu           @(sp,gr7),cpr8
38
        test_cpr_limmed 0x9abc,0xdef0,cpr8
39
        test_cpr_limmed 0x1234,0x5678,cpr9
40
        test_cpr_limmed 0xbeef,0xdead,cpr10
41
        test_cpr_limmed 0xdead,0xbeef,cpr11
42
        test_gr_gr      sp,gr20
43
 
44
        set_cpr_limmed  0xdead,0xbeef,cpr8
45
        set_cpr_limmed  0xbeef,0xdead,cpr9
46
        set_cpr_limmed  0x1234,0x5678,cpr10
47
        set_cpr_limmed  0x9abc,0xdef0,cpr11
48
        inc_gr_immed    16,sp
49
        set_gr_immed    -16,gr7
50
        ldqcu           @(sp,gr7),cpr8
51
        test_cpr_limmed 0x9abc,0xdef0,cpr8
52
        test_cpr_limmed 0x1234,0x5678,cpr9
53
        test_cpr_limmed 0xbeef,0xdead,cpr10
54
        test_cpr_limmed 0xdead,0xbeef,cpr11
55
        test_gr_gr      sp,gr20
56
 
57
        pass

powered by: WebSVN 2.1.0

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