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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [shlli.cgs] - Rev 24

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

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

        .include "media/testutils.inc"

        start

init:
        pta wrong, tr0

shlli:
        movi 1, r0
        shlli r0, 3, r0
        bnei r0, 8, tr0

shlli2:
        shlli r0, 3, r0

shlli3:
        # Shift all bits out of sight.
        shlli r0, 63, r0
        bnei r0, 0, tr0

okay:
        pass

wrong:
        fail

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.