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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [rotcr.cgs] - Blame information for rev 238

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

Line No. Rev Author Line
1 227 jeremybenn
# sh testcase for rotcr $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global rotcr
11
rotcr:
12
        clrt
13
        mov #1, r1
14
        rotcr r1
15
        bf wrong
16
        assert r1, #0
17
        sett
18
        rotcr r1
19
        rotcr r1
20
        rotcr r1
21
        rotcr r1
22
        rotcr r1
23
        rotcr r1
24
        rotcr r1
25
        rotcr r1
26
        rotcr r1
27
        rotcr r1
28
        rotcr r1
29
        rotcr r1
30
        rotcr r1
31
        rotcr r1
32
        rotcr r1
33
        rotcr r1
34
        rotcr r1
35
        rotcr r1
36
        rotcr r1
37
        rotcr r1
38
        rotcr r1
39
        rotcr r1
40
        rotcr r1
41
        rotcr r1
42
        rotcr r1
43
        rotcr r1
44
        rotcr r1
45
        rotcr r1
46
        rotcr r1
47
        rotcr r1
48
        rotcr r1
49
        rotcr r1
50
        assert r1, #1
51
        rotcr r1
52
        bf wrong
53
 
54
trotcr:
55
        sett
56
        mov #1, r1
57
        rotcr r1
58
        bf wrong
59
        sett
60
        rotcr r1
61
        rotcr r1
62
        rotcr r1
63
        rotcr r1
64
        rotcr r1
65
        rotcr r1
66
        rotcr r1
67
        rotcr r1
68
        rotcr r1
69
        rotcr r1
70
        rotcr r1
71
        rotcr r1
72
        rotcr r1
73
        rotcr r1
74
        rotcr r1
75
        rotcr r1
76
        rotcr r1
77
        rotcr r1
78
        rotcr r1
79
        rotcr r1
80
        rotcr r1
81
        rotcr r1
82
        rotcr r1
83
        rotcr r1
84
        rotcr r1
85
        rotcr r1
86
        rotcr r1
87
        rotcr r1
88
        rotcr r1
89
        rotcr r1
90
        rotcr r1
91
        rotcr r1
92
        bf wrong
93
        assert r1, #1
94
        rotcr r1
95
        bf wrong
96
        rotcr r1
97
 
98
okay:
99
        pass
100
wrong:
101
        fail
102
 
103
 

powered by: WebSVN 2.1.0

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