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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for shlr $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 shlr
11
shlr:
12
        mov #0, r0
13
        or #192, r0
14
        shlr r0
15
        shlr r0
16
        shlr r0
17
        shlr r0
18
        shlr r0
19
        shlr r0
20
        # Make sure a bit is shifted into T.
21
        shlr r0
22
        bf wrong
23
        # Ditto.
24
        shlr r0
25
        bf wrong
26
        shlr r0
27
        assert r0, #0
28
 
29
okay:
30
        pass
31
 
32
wrong:
33
        fail

powered by: WebSVN 2.1.0

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