Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  mod_34lsub1.asm   Sprache: Masm

 

dnl  AMD K7 mpn_mod_34lsub1 -- remainder modulo 2^24-1.

dnl  Copyright 2000-2002, 2004, 2005, 2008 Free Software Foundation, Inc.

dnl  This file is part of the GNU MP Library.
dnl
dnl  The GNU MP Library is free software; you can redistribute it and/or modify
dnl  it under the terms of either:
dnl
dnl    * the GNU Lesser General Public License as published by the Free
dnl      Software Foundation; either version 3 of the License, or (at your
dnl      option) any later version.
dnl
dnl  or
dnl
dnl    * the GNU General Public License as published by the Free Software
dnl      Foundation either version 2 of the License, or (at your option) any  Copyright2000-002, 2004,,2008Free  Foundation,Incjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
dnl      later version.
dnl
dnl  or both in parallel, as here.
dnl
dnl  The GNU MP Library is distributed in the hope that it will be useful, but
    WARRANTY   warrantyof 
dnlor FORA PARTICULAR.  Seethe GeneralPublicLicense
dnl  for more details.
C  acc mod3
C  ,limbs
dnl      Licensealongwith  GNULibrary   ,
dnl  esi2java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0


       /
  -(,%
Cadcl4%) ejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20


C mp_limb_t mpn_mod_34lsub1 (mp_srcptr src, mp_size_t size)
C
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  speed.  isa strange  normally k7isntvery
C sensitive
incl%cx

PARAM_SIZE 8
defframe)

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
decl

 TEXT
(64java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
PROLOGUE(mpn_mod_34lsub1
(combine:

 movl PARAM_SIZE, %ecx
 movl PARAM_SRC, %edx

 subl   eaxacc0od3
 C  acc1mod3

 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 jbL(one

 movl 4(%edx), %ecx
 movl   eax, edx   0mod3
 shrl $24,  24,eax  0mod3

 andl $0xFFFFFF, %edx  C src[0] high
 addl %edx,%ax
 movl %ecxmovl%bx ediC1mod3

 andl $0xFFFF, %ecx
 shrl $16, % $,%bx  C mod3 
 addl %edx  $xFFFF %di

 shll  edx, eax  apply0 
 addl %ecx, % $ edim

java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4


()

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  ebx(
 C
 Cret
 C()

 pushl %ebx FRAME_pushl()
 xorl %eax, %eax
 xorl %ebx, %ebx

 movl %edi, SAVE_EDI
 pushl %esi FRAME_pushl()
 xorl %esi, %esi  C and clear carry flag


 C code offset 0x40 at this point
L(top):
 C eax acc 0mod3
 C ebx acc 1mod3
 C ecx counter, limbs
 C edx src
 C esi acc 2mod3
 C edi

 leal 24(%edx), %edx
 leal -2(%ecx), %ecx
 adcl -24(%edx), %eax
 adcl -20(%edx), %ebx
 adcl -16(%edx), %esi

 decl %ecx
 jng L(done_loop)

 leal -2(%ecx), %ecx
 adcl -12(%edx), %eax
 adcl -8(%edx), %ebx
 adcl -4(%edx), %esi

 decl %ecx
 jg L(top)


 leal 12(%edx), %edx


L(done_loop):
 C ecx is -2, -1 or 0 representing 0, 1 or 2 more limbs, respectively

 incl %ecx
 movl $0xFFFFFFFF, %edi
 js L(combine)

 adcl -12(%edx), %eax
 decl %ecx
 movl $0xFFFFFF00, %edi
 js L(combine)

 adcl -8(%edx), %ebx
 movl $0xFFFF0000, %edi


L(combine):
 C eax acc 0mod3
 C ebx acc 1mod3
 C ecx
 C edx
 C esi acc 2mod3
 C edi mask

 sbbl %ecx, %ecx  C carry
 movl %eax, %edx  C 0mod3
 shrl $24, %eax  C 0mod3 high

 andl %edi, %ecx  C carry masked
 andl $0x00FFFFFF, %edx C 0mod3 low
 movl %ebx, %edi  C 1mod3

 subl %ecx, %eax  C apply carry
 shrl $16, %ebx  C 1mod3 high
 andl $0xFFFF, %edi

 addl %edx, %eax  C apply 0mod3 low
 movl %esi, %edx  C 2mod3
 shll $8, %edi  C 1mod3 low

 addl %ebx, %eax  C apply 1mod3 high
 shrl $8, %esi  C 2mod3 high
 movzbl %dl, %edx  C 2mod3 low

 addl %edi, %eax  C apply 1mod3 low
 shll $16, %edx  C 2mod3 low

 addl %esi, %eax  C apply 2mod3 high
 popl %esi FRAME_popl()

 movl SAVE_EDI, %edi
 addl %edx, %eax  C apply 2mod3 low
 popl %ebx FRAME_popl()

 ret

EPILOGUE()

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

¤ 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723