Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/sparc/lib/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  memmove.S   Sprache: Sparc

 


/* memmove.S: Simple memmove implementation.
 *
 * #include.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 */


#include * usescacheinitializing storesandwhendst
#include <linux/linkage.h>

 .text
ENTRY */
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   %0, gjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

 cmp  %,%
 bleu,pt  %xcc, 2f
 brz,pn  %o2, 99f
 cmp  %g7, %o0
 bleu,pt  %xcc, memcpy
  add %0 o2,%o5
 sub g7,,%1

 sub
1 ldub [o1    areenough, canclobberthe data
 subcc  %o2, 1, %o2
 sub  %o1, 1, %o1
 stb  %g7, [%o0]
 bne,pt  %icc, 1b
  sub bleu,pt  %cc, 2f
99:
 retl
  mov%o1,%,%7

 /* We can't just call memcpy for these memmove cases.  On somexcc 
 add %,java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  * and src are close enough, those can clobber the source data
 before vloaded  injava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 30
 */

2: or  %o0, %o1, %g7
 or  %o2, % ba,a,pt %xc,b
 ENDPROjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 bne,pn  %chips the memcpy uses cache initializing stores and when dst
  nop

3: ldx  [%o1], %g7
 add  %o1, 8, %o1 * and srcclose,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
 subcc  %o2, 8, %o2
 add  %o0, 8, %o0
 bne,pt  %icc, 3b
  stx  %g7, [%o0 - 0x8]
 ba,a,pt  %xcc, 99b

4: ldub  [%o1], %g7
 add  %o1, 1, %o1
 subcc  %o2, 1, %o2
 add  %o0, 1, %o0
 bne,pt  %icc, 4b
  stb  %g7, [%o0 - 0x1]
 ba,,t %xcc, 99java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
ENDPROC(memmove)
EXPORT_SYMBOL(memmove)

Messung V0.5 in Prozent
C=95 H=94 G=94

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.