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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [movl9.cgs] - Blame information for rev 24

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.l @($imm8x4, gbr), r0 -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
        mov #30, r1
10
        shll8 r1
11
        ldc r1, gbr
12
        # Store something there first.
13
        mov #170, r0
14
        mov r0, r7
15
        mov.l r0, @(12, gbr)
16
check:
17
        # Load it back.
18
        mov.l @(12, gbr), r0
19
        cmp/eq r0, r7
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.