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/] [addi.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 addi $rm, $disp10, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
 
10
init:
11
        pta wrong, tr0
12
 
13
addi1:
14
        movi 1, r0
15
        addi r0, 10, r0
16
        bnei r0, 11, tr0
17
 
18
addi2:
19
        movi 10, r0
20
        addi r0, 1, r0
21
        bnei r0, 11, tr0
22
 
23
addi3:
24
        movi 10, r0
25
        addi r0, -1, r0
26
        bnei r0, 9, tr0
27
 
28
addi4:
29
        movi 20, r0
30
        addi r0, -2, r0
31
        bnei r0, 18, tr0
32
 
33
okay:
34
        pass
35
 
36
wrong:
37
        fail

powered by: WebSVN 2.1.0

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