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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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