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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for stqfi $FRk,@($GRi,$GRj)
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global stqfi
10
stqfi:
11
        set_mem_limmed  0xdead,0xbeef,sp
12
        set_gr_gr       sp,gr10
13
        inc_gr_immed    -4,sp
14
        set_mem_limmed  0xbeef,0xdead,sp
15
        set_gr_gr       sp,gr11
16
        inc_gr_immed    -4,sp
17
        set_mem_limmed  0x1234,0x5678,sp
18
        set_gr_gr       sp,gr12
19
        inc_gr_immed    -4,sp
20
        set_mem_limmed  0x8765,0x4321,sp
21
        set_gr_gr       sp,gr13
22
        inc_gr_immed    -4,sp
23
        set_mem_limmed  0xfedc,0xba98,sp
24
        set_gr_gr       sp,gr14
25
        inc_gr_immed    -4,sp
26
        set_mem_limmed  0x89ab,0xcdef,sp
27
        set_gr_gr       sp,gr15
28
        inc_gr_immed    -4,sp
29
        set_mem_limmed  0x2345,0x6789,sp
30
        set_gr_gr       sp,gr16
31
        inc_gr_immed    -4,sp
32
        set_mem_limmed  0x9876,0x5432,sp
33
        set_gr_gr       sp,gr17
34
        inc_gr_immed    -4,sp
35
        set_mem_limmed  0x3456,0x789a,sp
36
        set_gr_gr       sp,gr18
37
        inc_gr_immed    -4,sp
38
        set_mem_limmed  0xa987,0x6543,sp
39
        set_gr_gr       sp,gr19
40
        inc_gr_immed    -4,sp
41
        set_mem_limmed  0x4567,0x89ab,sp
42
        set_gr_gr       sp,gr20
43
        inc_gr_immed    -4,sp
44
        set_mem_limmed  0xba98,0x7654,sp
45
        set_gr_gr       sp,gr21
46
        set_fr_iimmed   0xffff,0xffff,fr8
47
        set_fr_iimmed   0xeeee,0xeeee,fr9
48
        set_fr_iimmed   0xdddd,0xdddd,fr10
49
        set_fr_iimmed   0xcccc,0xcccc,fr11
50
 
51
        stqfi           fr8,@(sp,0)
52
        test_mem_limmed 0xffff,0xffff,gr21
53
        test_mem_limmed 0xeeee,0xeeee,gr20
54
        test_mem_limmed 0xdddd,0xdddd,gr19
55
        test_mem_limmed 0xcccc,0xcccc,gr18
56
        test_mem_limmed 0x9876,0x5432,gr17
57
        test_mem_limmed 0x2345,0x6789,gr16
58
        test_mem_limmed 0x89ab,0xcdef,gr15
59
        test_mem_limmed 0xfedc,0xba98,gr14
60
        test_mem_limmed 0x8765,0x4321,gr13
61
        test_mem_limmed 0x1234,0x5678,gr12
62
        test_mem_limmed 0xbeef,0xdead,gr11
63
        test_mem_limmed 0xdead,0xbeef,gr10
64
 
65
        inc_gr_immed    0x810,sp        ; 2064
66
        stqfi           fr8,@(sp,-2048)
67
        test_mem_limmed 0xffff,0xffff,gr21
68
        test_mem_limmed 0xeeee,0xeeee,gr20
69
        test_mem_limmed 0xdddd,0xdddd,gr19
70
        test_mem_limmed 0xcccc,0xcccc,gr18
71
        test_mem_limmed 0xffff,0xffff,gr17
72
        test_mem_limmed 0xeeee,0xeeee,gr16
73
        test_mem_limmed 0xdddd,0xdddd,gr15
74
        test_mem_limmed 0xcccc,0xcccc,gr14
75
        test_mem_limmed 0x8765,0x4321,gr13
76
        test_mem_limmed 0x1234,0x5678,gr12
77
        test_mem_limmed 0xbeef,0xdead,gr11
78
        test_mem_limmed 0xdead,0xbeef,gr10
79
 
80
        inc_gr_immed    -4064,sp
81
        stqfi           fr8,@(sp,0x7f0)
82
        test_mem_limmed 0xffff,0xffff,gr21
83
        test_mem_limmed 0xeeee,0xeeee,gr20
84
        test_mem_limmed 0xdddd,0xdddd,gr19
85
        test_mem_limmed 0xcccc,0xcccc,gr18
86
        test_mem_limmed 0xffff,0xffff,gr17
87
        test_mem_limmed 0xeeee,0xeeee,gr16
88
        test_mem_limmed 0xdddd,0xdddd,gr15
89
        test_mem_limmed 0xcccc,0xcccc,gr14
90
        test_mem_limmed 0xffff,0xffff,gr13
91
        test_mem_limmed 0xeeee,0xeeee,gr12
92
        test_mem_limmed 0xdddd,0xdddd,gr11
93
        test_mem_limmed 0xcccc,0xcccc,gr10
94
 
95
        pass

powered by: WebSVN 2.1.0

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