OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [mwtacc.cgs] - Rev 24

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

# frv testcase for mwtacc $FRinti,$ACC40k
# mach: all

        .include "testutils.inc"

        start

        .global mwtacc
mwtacc:
        test_accg_immed 0x00,accg0
        test_acc_immed  0x00000000,acc0

        set_fr_iimmed   0xdead,0xbeef,fr10
        mwtacc          fr10,acc0
        test_accg_immed 0x00,accg0
        test_acc_immed  0xdeadbeef,acc0

        set_fr_iimmed   0x1234,0x5678,fr10
        mwtacc          fr10,acc0
        test_accg_immed 0x00,accg0
        test_acc_immed  0x12345678,acc0

        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.