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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.l @(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 #0, r0
10
        mov #30, r1
11
        shll8 r1
12
        # Store something there first.
13
        mov #170, r3
14
        mov.l r3, @(r0, r1)
15
check:
16
        # Load it back.
17
        mov.l @(r0, r1), r2
18
        cmp/eq r2, r3
19
        bf wrong
20
 
21
okay:
22
        pass
23
wrong:
24
        fail

powered by: WebSVN 2.1.0

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