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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.b @(r0, $rm), $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
        mov #30, r0
10
        shll8 r0
11
        mov #14, r1
12
        # Store something there first.
13
        mov #0, r0
14
        or #170, r0
15
        mov r0, r7
16
        mov.b r7, @(r0, r1)
17
        # Load it back.
18
        mov.b @(r0, r1), r2
19
        mov r2, r0
20
        and #255, r0
21
        cmp/eq r0, r7
22
        bf wrong
23
 
24
okay:
25
        pass
26
wrong:
27
        fail

powered by: WebSVN 2.1.0

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