~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to msvc/gmp/mpn/x86i/p6/mmx/divrem_1.asm

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
;
21
21
; Translation of AT&T syntax code by Brian Gladman 
22
22
 
23
 
%include "..\\..\\x86i.inc" 
 
23
%include "..\..\x86i.inc" 
24
24
 
25
25
        global  ___gmpn_preinv_divrem_1 
26
26
    global  ___gmpn_divrem_1c 
263
263
 
264
264
    shl     edi,cl          ;  n2 = carry << l 
265
265
    mov     eax,edi         ;  return value for zero_done 
266
 
    cmp     [PARAM_XSIZE],long 0
 
266
    cmp     [PARAM_XSIZE],dword 0
267
267
    je      Lzero_done
268
268
    jmp     Lfraction_some
269
269
 
452
452
    mov     [VAR_DST],ecx
453
453
    psrlq   mm0,mm7
454
454
    lea     edi,[ebp+esi]               ;  n-q*d remainder -> next n2 
455
 
    mov     [ecx],long -1
 
455
    mov     [ecx],dword -1
456
456
    movd    esi,mm0                             ;  next n10 
457
457
    cmp     edx,ecx
458
458
    jne     Linteger_top