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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cmnot $FRintj,$FRintk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmnot
9
cmnot:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
13
        cmnot           fr7,fr7,cc0,1
14
        test_fr_iimmed  0x55555555,fr7
15
 
16
        set_fr_iimmed   0xdead,0xbeef,fr7
17
        cmnot           fr7,fr7,cc4,1
18
        test_fr_iimmed  0x21524110,fr7
19
 
20
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
21
        cmnot           fr7,fr7,cc1,0
22
        test_fr_iimmed  0x55555555,fr7
23
 
24
        set_fr_iimmed   0xdead,0xbeef,fr7
25
        cmnot           fr7,fr7,cc5,0
26
        test_fr_iimmed  0x21524110,fr7
27
 
28
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
29
        cmnot           fr7,fr7,cc0,0
30
        test_fr_iimmed  0xaaaaaaaa,fr7
31
 
32
        set_fr_iimmed   0xdead,0xbeef,fr7
33
        cmnot           fr7,fr7,cc4,0
34
        test_fr_iimmed  0xdeadbeef,fr7
35
 
36
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
37
        cmnot           fr7,fr7,cc1,1
38
        test_fr_iimmed  0xaaaaaaaa,fr7
39
 
40
        set_fr_iimmed   0xdead,0xbeef,fr7
41
        cmnot           fr7,fr7,cc5,1
42
        test_fr_iimmed  0xdeadbeef,fr7
43
 
44
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
45
        cmnot           fr7,fr7,cc2,0
46
        test_fr_iimmed  0xaaaaaaaa,fr7
47
 
48
        set_fr_iimmed   0xdead,0xbeef,fr7
49
        cmnot           fr7,fr7,cc6,1
50
        test_fr_iimmed  0xdeadbeef,fr7
51
 
52
        set_fr_iimmed   0xaaaa,0xaaaa,fr7
53
        cmnot           fr7,fr7,cc3,0
54
        test_fr_iimmed  0xaaaaaaaa,fr7
55
 
56
        set_fr_iimmed   0xdead,0xbeef,fr7
57
        cmnot           fr7,fr7,cc7,1
58
        test_fr_iimmed  0xdeadbeef,fr7
59
 
60
        pass

powered by: WebSVN 2.1.0

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