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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for cmhtob $FRj,$FRk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmhtob
9
cmhtob:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_fr_iimmed   0x00ad,0x00ef,fr10
13
        set_fr_iimmed   0x0034,0x0078,fr11
14
        cmhtob          fr10,fr12,cc0,1
15
        test_fr_limmed  0xadef,0x3478,fr12
16
 
17
        set_fr_iimmed   0xdead,0xbeef,fr10
18
        set_fr_iimmed   0x1234,0x5678,fr11
19
        cmhtob          fr10,fr12,cc0,1
20
        test_fr_limmed  0xffff,0xffff,fr12
21
 
22
        set_fr_iimmed   0x0134,0x0878,fr10
23
        set_fr_iimmed   0x10ad,0x80ef,fr11
24
        cmhtob          fr10,fr12,cc4,1
25
        test_fr_limmed  0xffff,0xffff,fr12
26
 
27
        set_fr_iimmed   0x00ad,0x00ef,fr10
28
        set_fr_iimmed   0x0034,0x0078,fr11
29
        cmhtob          fr10,fr12,cc1,0
30
        test_fr_limmed  0xadef,0x3478,fr12
31
 
32
        set_fr_iimmed   0xdead,0xbeef,fr10
33
        set_fr_iimmed   0x1234,0x5678,fr11
34
        cmhtob          fr10,fr12,cc1,0
35
        test_fr_limmed  0xffff,0xffff,fr12
36
 
37
        set_fr_iimmed   0x0134,0x0878,fr10
38
        set_fr_iimmed   0x10ad,0x80ef,fr11
39
        cmhtob          fr10,fr12,cc5,0
40
        test_fr_limmed  0xffff,0xffff,fr12
41
 
42
        set_fr_iimmed   0x1111,0x1111,fr12
43
        set_fr_iimmed   0x00ad,0x00ef,fr10
44
        set_fr_iimmed   0x0034,0x0078,fr11
45
        cmhtob          fr10,fr12,cc0,0
46
        test_fr_limmed  0x1111,0x1111,fr12
47
 
48
        set_fr_iimmed   0xdead,0xbeef,fr10
49
        set_fr_iimmed   0x1234,0x5678,fr11
50
        cmhtob          fr10,fr12,cc0,0
51
        test_fr_limmed  0x1111,0x1111,fr12
52
 
53
        set_fr_iimmed   0x0134,0x0878,fr10
54
        set_fr_iimmed   0x10ad,0x80ef,fr11
55
        cmhtob          fr10,fr12,cc4,0
56
        test_fr_limmed  0x1111,0x1111,fr12
57
 
58
        set_fr_iimmed   0x00ad,0x00ef,fr10
59
        set_fr_iimmed   0x0034,0x0078,fr11
60
        cmhtob          fr10,fr12,cc1,1
61
        test_fr_limmed  0x1111,0x1111,fr12
62
 
63
        set_fr_iimmed   0xdead,0xbeef,fr10
64
        set_fr_iimmed   0x1234,0x5678,fr11
65
        cmhtob          fr10,fr12,cc1,1
66
        test_fr_limmed  0x1111,0x1111,fr12
67
 
68
        set_fr_iimmed   0x0134,0x0878,fr10
69
        set_fr_iimmed   0x10ad,0x80ef,fr11
70
        cmhtob          fr10,fr12,cc5,1
71
        test_fr_limmed  0x1111,0x1111,fr12
72
 
73
        set_fr_iimmed   0x00ad,0x00ef,fr10
74
        set_fr_iimmed   0x0034,0x0078,fr11
75
        cmhtob          fr10,fr12,cc2,1
76
        test_fr_limmed  0x1111,0x1111,fr12
77
 
78
        set_fr_iimmed   0xdead,0xbeef,fr10
79
        set_fr_iimmed   0x1234,0x5678,fr11
80
        cmhtob          fr10,fr12,cc2,0
81
        test_fr_limmed  0x1111,0x1111,fr12
82
 
83
        set_fr_iimmed   0x0134,0x0878,fr10
84
        set_fr_iimmed   0x10ad,0x80ef,fr11
85
        cmhtob          fr10,fr12,cc6,1
86
        test_fr_limmed  0x1111,0x1111,fr12
87
 
88
        set_fr_iimmed   0x00ad,0x00ef,fr10
89
        set_fr_iimmed   0x0034,0x0078,fr11
90
        cmhtob          fr10,fr12,cc3,1
91
        test_fr_limmed  0x1111,0x1111,fr12
92
 
93
        set_fr_iimmed   0xdead,0xbeef,fr10
94
        set_fr_iimmed   0x1234,0x5678,fr11
95
        cmhtob          fr10,fr12,cc7,0
96
        test_fr_limmed  0x1111,0x1111,fr12
97
 
98
        set_fr_iimmed   0x0134,0x0878,fr10
99
        set_fr_iimmed   0x10ad,0x80ef,fr11
100
        cmhtob          fr10,fr12,cc7,1
101
        test_fr_limmed  0x1111,0x1111,fr12
102
 
103
        pass

powered by: WebSVN 2.1.0

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