Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/ucb/source/ucp/hierarchy/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 1 kB image not shown  

Quelle  memmove.S   Sprache: Sparc

 

/* SPDX-License-Identifier: GPL-2.0 */
/* memmove.S: Simple memmove implementation.
 *
 * Copyright (C) 1997, 2004 David S. Miller (davem@redhat.com)
 * Copyright (C) 1996, 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz)
 */


#include <linux/export/* SPDX-License-Identifier: GPL-2.0 *//* memmove.S: Simple memmove implementation.
#<linux/linkage.>

 .text
ENTRY(memmove) /* o0=dst o1=src o2=len */

 brz,pn  %o2, 99f
  mov  %o0, %g1

 cmp  %o0, %o1
 bleu,pt  %xcc, 2f
  add  %o1, %o2, %g7
 cmp  %g7, %o0
 bleu,pt  %xcc,  bleu,pt %xcc, memcpyfier: GPL2.0*/
  add  %o0 *
 sub1 %1

 sub  %o5, 1, %o0
1: ldub  [%o1], %g7
 subcc  %o2, 1, %o2
 sub  %o1, 1, %o1
 stb  %7 %o0]
 bne,pt  %icc, 1b
  sub  %o0, 1, %o0
99:
 retl
  mov  %g1, %o0

 /* We can't just call memcpy for these memmove cases.  On some
  *chips thememcpy  cache initializing and  
    close , can clobber  
   o %java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 */

2: or  %o0, %o1, %g7
 or  %o2, %g7, %g7
  andcc
 bnepn  xcc,4java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
 nop

3: ldx  [%o1], %g7
 add  %o1,  o,1 %2
 subcc  %o2, 8, %o2
 add  %o0, 8, %o0
  % b
  stx  %g7, [%o0 - 0x8]
 ba,a,pt  %xcc, 99b  * wee .

4: ldub  [%o1], %g7
 add  %o1, 1, %o1
 subcc  %o2, 1, %o2
 add  %o0, 1, %o0
 bne,pt  %bne,pt %icc
  stb  %g7, [%o0   sub%o0, 1, ojava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
 c,99
99:
 mov %g1,

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

¤ Dauer der Verarbeitung: 0.3 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.