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/] [frv/] [sethi.cgs] - Rev 24

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.