|
Message
From: cvs at opencores.org<cvs@o...>
Date: Wed Apr 30 19:00:35 CEST 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/04 30:19:00 Modified: jop/asm/src jvm.asm Log: Added support for non-blocking copying. Revision Changes Path 1.66 jop/asm/src/jvm.asm http://www.opencores.org/cvsweb.shtml/jop/asm/src/jvm.asm.diff?r1=1.65&r2=1.66 (In the diff below, changes in quantity of whitespace are not shown.) Index: jvm.asm =================================================================== RCS file: /cvsroot/jeuneS2/jop/asm/src/jvm.asm,v retrieving revision 1.65 retrieving revision 1.66 diff -u -b -r1.65 -r1.66 --- jvm.asm 11 Mar 2008 12:43:02 -0000 1.65 +++ jvm.asm 30 Apr 2008 17:00:35 -0000 1.66 @@ -1844,35 +1844,39 @@ // public static native void memCopy(int src, int dest, int cnt); jopsys_memcpy: - ldi -1 - add - stm c // counter-1 - stm b // destination - stm a // source - ldm c // keep counter on the stack +// ldi -1 +// add +// stm c // counter-1 +// stm b // destination +// stm a // source +// ldm c // keep counter on the stack -memcpy_loop: - dup - ldm a - add - stmra - dup - ldm b - add - stmwa // should be ok - wait - wait - ldmrd - stmwd - dup - wait - wait +// memcpy_loop: +// dup +// ldm a +// add +// stmra +// dup +// ldm b +// add +// stmwa // should be ok +// wait +// wait +// ldmrd +// stmwd +// dup +// wait +// wait - bnz memcpy_loop - ldi -1 // decrement in branch slot - add +// bnz memcpy_loop +// ldi -1 // decrement in branch slot +// add - pop nxt // remove counter + stcp + pop + wait + wait + pop nxt
|
 |