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/] [shlrd.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 shlrd $rm, $rn, $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
shlrd1:
14
        movi 128, r0
15
        movi 3, r1
16
        shlrd r0, r1, r2
17
        bnei r2, 16, tr0
18
 
19
shlrd2:
20
        movi -4, r0
21
        movi 2, r1
22
        shlrd r0, r1, r2
23
        addi r2, 1, r2
24
        beqi r2, 0, tr0
25
 
26
okay:
27
        pass
28
 
29
wrong:
30
        fail

powered by: WebSVN 2.1.0

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