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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [tests/] [or1200/] [sim/] [or1200-sf.S] - Diff between revs 504 and 619

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

Rev 504 Rev 619
Line 62... Line 62...
/* =================================================== [ text ] === */
/* =================================================== [ text ] === */
        .section .text
        .section .text
 
 
/* =================================================== [ start ] === */
/* =================================================== [ start ] === */
 
 
#define SHOULD_BE_SET   l.bnf   _fail
#define SHOULD_BE_SET   l.bnf   _fail ; \
#define SHOULDNT_BE_SET l.bf    _fail
        l.nop 0
 
#define SHOULDNT_BE_SET l.bf    _fail ; \
 
        l.nop 0
 
 
#define MOVE_TO_R4R5_AND_REPORT(a,b)    \
#define MOVE_TO_R4R5_AND_REPORT(a,b)    \
        l.movhi r3,hi(a)        ;       \
        l.movhi r3,hi(a)        ;       \
        l.ori   r3,r3,lo(a)     ;       \
        l.ori   r3,r3,lo(a)     ;       \
        l.nop   0x2             ;       \
        l.nop   0x2             ;       \
Line 204... Line 206...
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(1,0)
        SHOULD_BE_GREATER_THAN_UNSIGNED(1,0)
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(UINT_MAX,UINT_MAX_MIN1)
        SHOULD_BE_GREATER_THAN_UNSIGNED(UINT_MAX,UINT_MAX_MIN1)
 
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(UINT_MAX,0)
 
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(0x80000001, 0x80000000)
 
 
 
        SHOULD_BE_LESS_THAN_UNSIGNED(0x80000000, 0x80000001)
 
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(0x80000000,0x7fffffff)
 
 
 
        SHOULD_BE_LESS_THAN_UNSIGNED(0x7fffffff, 0x80000000)
 
 
 
        SHOULD_BE_GREATER_THAN_UNSIGNED(0x7fffffff, 0x7ffffffe)
 
 
 
        SHOULD_BE_LESS_THAN_UNSIGNED(0x7ffffffe, 0x7fffffff)
 
 
_finish:
_finish:
        l.movhi r3, hi(0x8000000d)
        l.movhi r3, hi(0x8000000d)
        l.ori   r3, r3, lo(0x8000000d)
        l.ori   r3, r3, lo(0x8000000d)
        l.nop   0x2
        l.nop   0x2

powered by: WebSVN 2.1.0

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