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/] [movi.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 #$imm8, $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global movi
11
movi:
12
        mov #0, r0
13
        cmp/eq #0, r0
14
        bf wrong
15
 
16
        mov #1, r0
17
        cmp/eq #1, r0
18
        bf wrong
19
 
20
        mov #255, r0
21
        cmp/eq #255, r0
22
        bf wrong
23
 
24
        mov #1, r15
25
        mov #1, r0
26
        cmp/eq r0, r15
27
        bf wrong
28
 
29
        mov #255, r15
30
        mov r15, r0
31
        cmp/eq r0, r15
32
        bf wrong
33
 
34
okay:
35
        pass
36
 
37
wrong:
38
        fail
39
 

powered by: WebSVN 2.1.0

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