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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [ext/] [ext.S] - Diff between revs 90 and 458

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 90 Rev 458
Line 25... Line 25...
   This code is commented throughout for use with Doxygen.
   This code is commented throughout for use with Doxygen.
   --------------------------------------------------------------------------*/
   --------------------------------------------------------------------------*/
 
 
#include "spr-defs.h"
#include "spr-defs.h"
 
 
 
        .section .except,"ax"
 
 
        .org 0x100
        .org 0x100
        l.j     start_test
        l.j     start_test
        l.nop
        l.nop
        .org 0x200
        .org 0x200
        l.jal   unhandled_except
        l.jal   unhandled_except
Line 115... Line 117...
        l.nop   NOP_REPORT; \
        l.nop   NOP_REPORT; \
        l.sfne  r5,r4; \
        l.sfne  r5,r4; \
        l.bf    ext_fail; \
        l.bf    ext_fail; \
        l.nop;
        l.nop;
 
 
 
        .section .text
start_test:
start_test:
        /* Test l.extbs */
        /* Test l.extbs */
        CHECK_HIGH3_CLEAR(l.extbs, 0x7f)
        CHECK_HIGH3_CLEAR(l.extbs, 0x7f)
        CHECK_HIGH3_CLEAR(l.extbs, 0x53)
        CHECK_HIGH3_CLEAR(l.extbs, 0x53)
        CHECK_HIGH3_CLEAR(l.extbs, 0xff53)
        CHECK_HIGH3_CLEAR(l.extbs, 0xff53)

powered by: WebSVN 2.1.0

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