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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [movi.cgs] - Rev 26

Compare with Previous | Blame | View Log

# sh testcase for movi $imm16, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

        .include "media/testutils.inc"

        start
init:
        pta wrong, tr0

movi0:
        movi 0, r0
        bnei r0, 0, tr0
movi1:
        movi 1, r0
        bnei r0, 1, tr0
movi2:
        movi 23, r0
        bnei r0, 23, tr0
movn:
        movi -1, r0
        addi r0, 1, r0
        bnei r0, 0, tr0

okay:
        pass
wrong:
        fail

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.