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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [shll2.cgs] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 jlechner
# sh testcase for shll2 $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 shll2
11
shll2:
12
        mov #1, r1
13
        shll2 r1
14
        shll2 r1
15
        shll2 r1
16
        shll2 r1
17
        shll2 r1
18
        shll2 r1
19
        shll2 r1
20
        shll2 r1
21
        shll2 r1
22
        shll2 r1
23
        shll2 r1
24
        shll2 r1
25
        shll2 r1
26
        shll2 r1
27
        shll2 r1
28
        shll2 r1
29
        assert r1, #0
30
 
31
another:
32
        mov #1, r1
33
        shll2 r1
34
        assert r1, #4
35
 
36
okay:
37
        pass
38
 
39
wrong:
40
        fail

powered by: WebSVN 2.1.0

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