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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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