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

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.l $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, r1
10
        shll8 r1
11
init:
12
        # Build up a distinctive bit pattern.
13
        mov #1, r2
14
        shll8 r2
15
        add #12, r2
16
        shll8 r2
17
        add #85, r2
18
        shll8 r2
19
        add #170, r2
20
 
21
        mov.l r2, @r1
22
 
23
        # Load it back.
24
        mov.l @r1, r3
25
        cmp/eq r2, r3
26
        bf wrong
27
 
28
okay:
29
        pass
30
wrong:
31
        fail

powered by: WebSVN 2.1.0

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