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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cnot.cgs] - Blame information for rev 438

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

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

powered by: WebSVN 2.1.0

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