Changeset 9797


Ignore:
Timestamp:
Jun 20, 2008, 4:09:37 AM (11 years ago)
Author:
rme
Message:

truncate-guess-loop: treat comparisons as unsigned.

Also no need to save borrow in arg_z.bh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/level-0/X86/X8632/x8632-bignum.lisp

    r9776 r9797  
    894894  (movd (% edx) (% mm7))                ;save high digit
    895895  ;; guess is now either good, or one too large
    896   (setc (%b arg_z.bh))                  ;save borrow (arg_z already tag-fixnum)
    897896  ;; if (and (= high-digit 0)
    898897  (test (% edx) (% edx))
     
    904903  (movd (% mm6) (% edx))                ;middle-digit
    905904  (cmpl (% edx) (% eax))
    906   (jg @decrement)
     905  (ja @decrement)
    907906  ;;             (and (= middle-digit high-guess*y2)
    908907  (jne @return)
     
    911910  (movl (@ (- x8632::misc-data-offset 8) (% temp0) (% arg_y)) (% edx)) ;x-i-2
    912911  (cmpl (% edx) (% eax))
    913   (jg @decrement)
     912  (ja @decrement)
    914913  @return
    915914  (mark-as-node edx)
Note: See TracChangeset for help on using the changeset viewer.