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/] [movb1.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 $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 #55, r1
10
        mov #40, r2
11
        shll8 r2
12
        mov.b r1, @r2
13
 
14
        # Load it back into r3.
15
        mov #40, r2
16
        shll8 r2
17
        mov.b @r2, r3
18
 
19
        # Make sure r1 and r3 match.
20
        cmp/eq r1, r3
21
        bf wrong
22
 
23
okay:
24
        pass
25
 
26
wrong:
27
        fail

powered by: WebSVN 2.1.0

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