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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldub.cgs] - Rev 840

Compare with Previous | Blame | View Log

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

        .include "media/testutils.inc"

        start

init:
        movi 20, r3
        shlli r3, 8, r3

ldub1:
        ld.ub r3, 0, r0
ldub2:
        ld.ub r3, -1, r0
ldub3:
        ld.ub r3, 1, r0

okay:
        pass

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.