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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [csthf.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for csthf $FRk,@($GRi,$GRj),$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global csthf
9
csthf:
10
        set_spr_immed   0x1b1b,cccr
11
        set_gr_gr       sp,gr20
12
 
13
        set_mem_limmed  0xdead,0xbeef,sp
14
        set_gr_immed    0,gr7
15
        set_fr_iimmed   0x1111,0xffff,fr8
16
        csthf           fr8,@(sp,gr7),cc0,1
17
        test_mem_limmed 0xffff,0xbeef,gr20
18
 
19
        set_gr_immed    2,gr7
20
        set_fr_iimmed   0xffff,0xaaaa,fr8
21
        csthf           fr8,@(sp,gr7),cc0,1
22
        test_mem_limmed 0xffff,0xaaaa,gr20
23
 
24
        inc_gr_immed    4,sp
25
        set_gr_immed    -2,gr7
26
        set_fr_iimmed   0x2222,0xbbbb,fr8
27
        csthf           fr8,@(sp,gr7),cc4,1
28
        test_mem_limmed 0xffff,0xbbbb,gr20
29
 
30
        set_gr_gr       gr20,sp
31
        set_mem_limmed  0xdead,0xbeef,sp
32
        set_gr_immed    0,gr7
33
        set_fr_iimmed   0x1111,0xffff,fr8
34
        csthf           fr8,@(sp,gr7),cc0,0
35
        test_mem_limmed 0xdead,0xbeef,gr20
36
 
37
        set_gr_immed    2,gr7
38
        set_fr_iimmed   0xffff,0xaaaa,fr8
39
        csthf           fr8,@(sp,gr7),cc0,0
40
        test_mem_limmed 0xdead,0xbeef,gr20
41
 
42
        inc_gr_immed    4,sp
43
        set_gr_immed    -2,gr7
44
        set_fr_iimmed   0x2222,0xbbbb,fr8
45
        csthf           fr8,@(sp,gr7),cc4,0
46
        test_mem_limmed 0xdead,0xbeef,gr20
47
 
48
        set_gr_gr       gr20,sp
49
        set_mem_limmed  0xdead,0xbeef,sp
50
        set_gr_immed    0,gr7
51
        set_fr_iimmed   0x1111,0xffff,fr8
52
        csthf           fr8,@(sp,gr7),cc1,0
53
        test_mem_limmed 0xffff,0xbeef,gr20
54
 
55
        set_gr_immed    2,gr7
56
        set_fr_iimmed   0xffff,0xaaaa,fr8
57
        csthf           fr8,@(sp,gr7),cc1,0
58
        test_mem_limmed 0xffff,0xaaaa,gr20
59
 
60
        inc_gr_immed    4,sp
61
        set_gr_immed    -2,gr7
62
        set_fr_iimmed   0x2222,0xbbbb,fr8
63
        csthf           fr8,@(sp,gr7),cc5,0
64
        test_mem_limmed 0xffff,0xbbbb,gr20
65
 
66
        set_gr_gr       gr20,sp
67
        set_mem_limmed  0xdead,0xbeef,sp
68
        set_gr_immed    0,gr7
69
        set_fr_iimmed   0x1111,0xffff,fr8
70
        csthf           fr8,@(sp,gr7),cc1,1
71
        test_mem_limmed 0xdead,0xbeef,gr20
72
 
73
        set_gr_immed    2,gr7
74
        set_fr_iimmed   0xffff,0xaaaa,fr8
75
        csthf           fr8,@(sp,gr7),cc1,1
76
        test_mem_limmed 0xdead,0xbeef,gr20
77
 
78
        inc_gr_immed    4,sp
79
        set_gr_immed    -2,gr7
80
        set_fr_iimmed   0x2222,0xbbbb,fr8
81
        csthf           fr8,@(sp,gr7),cc5,1
82
        test_mem_limmed 0xdead,0xbeef,gr20
83
 
84
        set_gr_gr       gr20,sp
85
        set_mem_limmed  0xdead,0xbeef,sp
86
        set_gr_immed    0,gr7
87
        set_fr_iimmed   0x1111,0xffff,fr8
88
        csthf           fr8,@(sp,gr7),cc2,0
89
        test_mem_limmed 0xdead,0xbeef,gr20
90
 
91
        set_gr_immed    2,gr7
92
        set_fr_iimmed   0xffff,0xaaaa,fr8
93
        csthf           fr8,@(sp,gr7),cc2,1
94
        test_mem_limmed 0xdead,0xbeef,gr20
95
 
96
        inc_gr_immed    4,sp
97
        set_gr_immed    -2,gr7
98
        set_fr_iimmed   0x2222,0xbbbb,fr8
99
        csthf           fr8,@(sp,gr7),cc6,0
100
        test_mem_limmed 0xdead,0xbeef,gr20
101
 
102
        set_gr_gr       gr20,sp
103
        set_mem_limmed  0xdead,0xbeef,sp
104
        set_gr_immed    0,gr7
105
        set_fr_iimmed   0x1111,0xffff,fr8
106
        csthf           fr8,@(sp,gr7),cc3,1
107
        test_mem_limmed 0xdead,0xbeef,gr20
108
 
109
        set_gr_immed    2,gr7
110
        set_fr_iimmed   0xffff,0xaaaa,fr8
111
        csthf           fr8,@(sp,gr7),cc3,0
112
        test_mem_limmed 0xdead,0xbeef,gr20
113
 
114
        inc_gr_immed    4,sp
115
        set_gr_immed    -2,gr7
116
        set_fr_iimmed   0x2222,0xbbbb,fr8
117
        csthf           fr8,@(sp,gr7),cc7,1
118
        test_mem_limmed 0xdead,0xbeef,gr20
119
 
120
        pass

powered by: WebSVN 2.1.0

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