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/] [ldxb.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 ldx.b $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
ldxb1:
10
        movi 20, r3
11
        shlli r3, 8, r3
12
        movi 0, r4
13
        ldx.b r3, r4, r0
14
 
15
ldxb2:
16
        movi 20, r3
17
        shlli r3, 8, r3
18
        movi 1, r4
19
        ldx.b r3, r4, r0
20
 
21
ldxb3:
22
        movi 20, r3
23
        shlli r3, 8, r3
24
        movi -1, r4
25
        ldx.b r3, r4, r0
26
 
27
okay:
28
        pass

powered by: WebSVN 2.1.0

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