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/] [media/] [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 movi $imm16, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
init:
10
        pta wrong, tr0
11
 
12
movi0:
13
        movi 0, r0
14
        bnei r0, 0, tr0
15
movi1:
16
        movi 1, r0
17
        bnei r0, 1, tr0
18
movi2:
19
        movi 23, r0
20
        bnei r0, 23, tr0
21
movn:
22
        movi -1, r0
23
        addi r0, 1, r0
24
        bnei r0, 0, tr0
25
 
26
okay:
27
        pass
28
wrong:
29
        fail

powered by: WebSVN 2.1.0

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