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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [cmor.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for cmor $FRinti,$FRintj,$FRintk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmor
9
cmor:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
13
        set_fr_iimmed   0x5555,0x5555,fr8
14
        cmor            fr7,fr8,fr8,cc0,1
15
        test_fr_iimmed  0xffffffff,fr8
16
 
17
        set_fr_iimmed   0x0000,0x0000,fr7
18
        set_fr_iimmed   0x0000,0x0000,fr8
19
        cmor            fr7,fr8,fr8,cc0,1
20
        test_fr_iimmed  0x00000000,fr8
21
 
22
        set_fr_iimmed   0xdead,0x0000,fr7
23
        set_fr_iimmed   0x0000,0xbeef,fr8
24
        cmor            fr7,fr8,fr8,cc4,1
25
        test_fr_iimmed  0xdeadbeef,fr8
26
 
27
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
28
        set_fr_iimmed   0x5555,0x5555,fr8
29
        cmor            fr7,fr8,fr8,cc1,0
30
        test_fr_iimmed  0xffffffff,fr8
31
 
32
        set_fr_iimmed   0x0000,0x0000,fr7
33
        set_fr_iimmed   0x0000,0x0000,fr8
34
        cmor            fr7,fr8,fr8,cc1,0
35
        test_fr_iimmed  0x00000000,fr8
36
 
37
        set_fr_iimmed   0xdead,0x0000,fr7
38
        set_fr_iimmed   0x0000,0xbeef,fr8
39
        cmor            fr7,fr8,fr8,cc5,0
40
        test_fr_iimmed  0xdeadbeef,fr8
41
 
42
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
43
        set_fr_iimmed   0x5555,0x5555,fr8
44
        cmor            fr7,fr8,fr8,cc0,0
45
        test_fr_iimmed  0x55555555,fr8
46
 
47
        set_fr_iimmed   0xdead,0xbeef,fr7
48
        set_fr_iimmed   0x0000,0x0000,fr8
49
        cmor            fr7,fr8,fr8,cc0,0
50
        test_fr_iimmed  0x00000000,fr8
51
 
52
        set_fr_iimmed   0xdead,0x0000,fr7
53
        set_fr_iimmed   0x0000,0xbeef,fr8
54
        cmor            fr7,fr8,fr8,cc4,0
55
        test_fr_iimmed  0x0000beef,fr8
56
 
57
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
58
        set_fr_iimmed   0x5555,0x5555,fr8
59
        cmor            fr7,fr8,fr8,cc1,1
60
        test_fr_iimmed  0x55555555,fr8
61
 
62
        set_fr_iimmed   0xdead,0xbeef,fr7
63
        set_fr_iimmed   0x0000,0x0000,fr8
64
        cmor            fr7,fr8,fr8,cc1,1
65
        test_fr_iimmed  0x00000000,fr8
66
 
67
        set_fr_iimmed   0xdead,0x0000,fr7
68
        set_fr_iimmed   0x0000,0xbeef,fr8
69
        cmor            fr7,fr8,fr8,cc5,1
70
        test_fr_iimmed  0x0000beef,fr8
71
 
72
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
73
        set_fr_iimmed   0x5555,0x5555,fr8
74
        cmor            fr7,fr8,fr8,cc2,0
75
        test_fr_iimmed  0x55555555,fr8
76
 
77
        set_fr_iimmed   0xdead,0xbeef,fr7
78
        set_fr_iimmed   0x0000,0x0000,fr8
79
        cmor            fr7,fr8,fr8,cc2,1
80
        test_fr_iimmed  0x00000000,fr8
81
 
82
        set_fr_iimmed   0xdead,0x0000,fr7
83
        set_fr_iimmed   0x0000,0xbeef,fr8
84
        cmor            fr7,fr8,fr8,cc6,0
85
        test_fr_iimmed  0x0000beef,fr8
86
 
87
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
88
        set_fr_iimmed   0x5555,0x5555,fr8
89
        cmor            fr7,fr8,fr8,cc3,1
90
        test_fr_iimmed  0x55555555,fr8
91
 
92
        set_fr_iimmed   0xdead,0xbeef,fr7
93
        set_fr_iimmed   0x0000,0x0000,fr8
94
        cmor            fr7,fr8,fr8,cc3,0
95
        test_fr_iimmed  0x00000000,fr8
96
 
97
        set_fr_iimmed   0xdead,0x0000,fr7
98
        set_fr_iimmed   0x0000,0xbeef,fr8
99
        cmor            fr7,fr8,fr8,cc7,1
100
        test_fr_iimmed  0x0000beef,fr8
101
        pass

powered by: WebSVN 2.1.0

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