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/] [ldxub.cgs] - Rev 373

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

# sh testcase for ldx.ub $rm, $rn, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

        .include "media/testutils.inc"

        start
ldxub1:
        movi 20, r3
        shlli r3, 8, r3
        movi 0, r4
        ldx.ub r3, r4, r0

ldxub2:
        movi 20, r3
        shlli r3, 8, r3
        movi 1, r4
        ldx.ub r3, r4, r0

ldxub3:
        movi 20, r3
        shlli r3, 8, r3
        movi -1, r4
        ldx.ub r3, r4, r0

okay:
        pass

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

powered by: WebSVN 2.1.0

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