OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldxuw.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# sh testcase for ldx.uw $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
ldxuw1:
11
        movi 20, r3
12
        shlli r3, 8, r3
13
        movi 0, r4
14
        ldx.uw r3, r4, r0
15
 
16
ldxuw2:
17
        movi 20, r3
18
        shlli r3, 8, r3
19
        movi 2, r4
20
        ldx.uw r3, r4, r0
21
 
22
ldxuw3:
23
        movi 20, r3
24
        shlli r3, 8, r3
25
        movi -2, r4
26
        ldx.uw r3, r4, r0
27
 
28
okay:
29
        pass

powered by: WebSVN 2.1.0

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