Changeset 6379 for branches/x8664-call


Ignore:
Timestamp:
Apr 30, 2007, 12:41:50 PM (13 years ago)
Author:
gb
Message:

Things which do shifts - including %FIXNUM-GCD - should use %imm2,
since its low byte is %cl. Don't need to be careful with it, since
it's never tagged.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/x8664-call/ccl/level-0/X86/x86-numbers.lisp

    r6370 r6379  
    4848  (unbox-fixnum count imm1)
    4949  (unbox-fixnum number imm0)
    50   (xorq (% rcx) (% rcx))                ;rcx = temp2
     50  (xorq (% rcx) (% rcx))                ;rcx = imm2
    5151  (testq (% count) (% count))
    5252  (jge @left)
    5353  (subb (% imm1.b) (% cl))
    5454  (sar (% cl) (% imm0))
    55   (xorb (% cl) (% cl))
    5655  (box-fixnum imm0 arg_z)
    5756  (single-value-return)
     
    5958  (movb (% imm1.b) (% cl))
    6059  (shl (% cl) (% number))
    61   (xorb (% cl) (% cl))
    6260  (movq (% number) (% arg_z))
    6361  (single-value-return))
     
    142140  (let ((u imm0)
    143141        (v imm1)
    144         (k temp2))
    145     (xorl (% temp2.l) (% temp2.l))
     142        (k imm2))
     143    (xorl (% imm2.l) (% imm2.l))
    146144    (bsfq (% boxed-u) (% u))
    147145    (bsfq (% boxed-v) (% v))
Note: See TracChangeset for help on using the changeset viewer.