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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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