OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [shlldl.cgs] - Blame information for rev 373

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# sh testcase for shlld.l $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
init:
10
        pta wrong, tr0
11
 
12
shlldl1:
13
        movi 1, r0
14
        shlli r0, 32, r0
15
        ori r0, 1, r0
16
        movi 1, r1
17
        shlli r1, 7, r1
18
        ori r1, 3, r1
19
 
20
        shlld.l r0, r1, r2
21
 
22
check1:
23
        bnei r2, 8, tr0
24
 
25
shlldl2:
26
        movi 1, r0
27
        movi 31, r1
28
        shlld.l r0, r1, r2
29
 
30
okay:
31
        pass
32
 
33
wrong:
34
        fail

powered by: WebSVN 2.1.0

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