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/] [sh64/] [compact/] [rotr.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for rotr $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 rotr
11
rotr:
12
        mov #1, r1
13
        rotr r1
14
        bf wrong
15
        rotr r1
16
        rotr r1
17
        rotr r1
18
        rotr r1
19
        rotr r1
20
        rotr r1
21
        rotr r1
22
        rotr r1
23
        rotr r1
24
        rotr r1
25
        rotr r1
26
        rotr r1
27
        rotr r1
28
        rotr r1
29
        rotr r1
30
        rotr r1
31
        rotr r1
32
        rotr r1
33
        rotr r1
34
        rotr r1
35
        rotr r1
36
        rotr r1
37
        rotr r1
38
        rotr r1
39
        rotr r1
40
        rotr r1
41
        rotr r1
42
        rotr r1
43
        rotr r1
44
        rotr r1
45
        rotr r1
46
        assert r1, #1
47
        rotr r1
48
        rotr r1
49
        rotr r1
50
 
51
okay:
52
        pass
53
 
54
wrong:
55
        fail

powered by: WebSVN 2.1.0

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