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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [sethi.cgs] - Rev 816

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

# frv testcase for sethi $s16,$GRk
# mach: all

        .include "testutils.inc"

        start

        .global sethi
sethi:
        set_gr_immed    0,gr1
        sethi           0,gr1
        test_gr_immed   0,gr1
        sethi           1,gr1
        test_gr_immed   0x00010000,gr1
        sethi           0x7fff,gr1
        test_gr_immed   0x7fff0000,gr1

        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.