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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

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

        .include "media/testutils.inc"

        start

init:
        movi -1, r7
        xori r7, 13, r7
        movi 40, r0
        shlli r0, 8, r0

stb1:
        st.b r0, 0, r7

stb2:
        st.b r0, 1, r7

stb3:
        st.b r0, -1, r7

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.