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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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