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/] [mova.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 mova @($imm8x4, pc), r0 -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global mova
11
mova:
12
        mova @(40, pc), r0
13
        mov #16, r1
14
        shll8 r1
15
        add #40, r1
16
        cmp/eq r0, r1
17
        bf wrong
18
        mova @(12, pc), r0
19
        mov #16, r1
20
        shll8 r1
21
        add #24, r1
22
        cmp/eq r0, r1
23
        bf wrong
24
 
25
okay:
26
        pass
27
 
28
wrong:
29
        fail

powered by: WebSVN 2.1.0

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