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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [inst-set-test/] [is-mac-test.S] - Diff between revs 116 and 118

Show entire file | Details | Blame | View Log

Rev 116 Rev 118
Line 27... Line 27...
 * ------------------------------------------------------------------------- */
 * ------------------------------------------------------------------------- */
 
 
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
 * Test coverage
 * Test coverage
 *
 *
 * The l.add, l.addc, l.addi and l.addic instructions should set the carry and
 * The l.mac, l.maci, l.macrc and l.msb instructions perform operations related
 * overflow flags.
 * to combined signed multiply and addition/subtraction.
 *
 *
 * In addition the l.addc and l.addic instructions should add in the carry
 * The precise definition of these instructions is in flux. In addition there
 * bit.
 * are known problems with the assembler/disassembler (will not correctly
 
 * handle l.maci) and with the Verilog RTL implementation (not functional).
 *
 *
 * Problems in this area were reported in Bugs 1771 and 1776. Having fixed the
 * Problems in this area were reported in Bugs 1773 and 1777. Having fixed the
 * problem, this is (in good software engineering style), a  regression test
 * problem, this is (in good software engineering style), a  regression test
 * to go with the fix.
 * to go with the fix.
 *
 *
 * This is not a comprehensive test of any instruction (yet).
 * This is not a comprehensive test of any instruction (yet).
 *
 *
Line 222... Line 223...
        POP (r6)                                                        ;\
        POP (r6)                                                        ;\
        POP (r5)                                                        ;\
        POP (r5)                                                        ;\
        CHECK_RES2 (r5, r6, reshi, reslo)
        CHECK_RES2 (r5, r6, reshi, reslo)
 
 
 
 
 
/* ----------------------------------------------------------------------------
 
 * Start of code
 
 * ------------------------------------------------------------------------- */
        .section .text
        .section .text
        .global _start
        .global _start
_start:
_start:
 
 
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.