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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldxuw.cgs] - Blame information for rev 853

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

Line No. Rev Author Line
1 24 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.