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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for jmp @$rn
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global jmp
11
jmp:
12
        # Load 0x1010 into r0.
13
        mov #1, r0
14
        shll8 r0
15
        shll2 r0
16
        shll2 r0
17
        add #16, r0
18
        jmp @r0
19
slot:
20
        nop
21
bad:
22
        fail
23
okay:
24
        pass
25
alsobad:
26
        fail
27
        fail
28
        fail
29
 

powered by: WebSVN 2.1.0

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