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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.b @($imm4, $rm), 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
        # Store something there first.
12
        mov #0, r0
13
        or #170, r0
14
        mov r0, r7
15
        mov.b r0, @(3, r1)
16
        # Load it back.
17
        mov.b @(3, r1), r0
18
        and #255, r0
19
        cmp/eq r0, r7
20
        bf wrong
21
 
22
okay:
23
        pass
24
wrong:
25
        fail

powered by: WebSVN 2.1.0

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