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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [shll16.cgs] - Blame information for rev 330

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# sh testcase for shll16 $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 shll16
11
shll16:
12
        mov #108, r1
13
        shll16 r1
14
        shll16 r1
15
        assert r1, #0
16
 
17
another:
18
        mov #1, r1
19
        shll16 r1
20
        mov #1, r7
21
        shll r7
22
        shll r7
23
        shll r7
24
        shll r7
25
        shll r7
26
        shll r7
27
        shll r7
28
        shll r7
29
        shll r7
30
        shll r7
31
        shll r7
32
        shll r7
33
        shll r7
34
        shll r7
35
        shll r7
36
        shll r7
37
        cmp/eq r1, r7
38
        bf wrong
39
 
40
okay:
41
        pass
42
 
43
wrong:
44
        fail

powered by: WebSVN 2.1.0

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