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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [stxb.cgs] - Rev 828

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

# sh testcase for stx.b $rm, $rn, $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

stxb1:
        movi 0, r1
        stx.b r0, r1, r7

stxb2:
        movi 1, r1
        stx.b r0, r1, r7

stxb3:
        movi -1, r1
        stx.b r0, r1, r7

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.