Changeset 13447


Ignore:
Timestamp:
Feb 13, 2010, 10:03:25 PM (10 years ago)
Author:
rme
Message:

In fast-mod-3, use mark-as-imm/mark-as-node. Toggling the direction
flag is very slow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-0/X86/X8632/x8632-hash.lisp

    r13067 r13447  
    3030;; branch-free max.
    3131(defx8632lapfunction fast-mod-3 ((number 4) #|(ra 0)|# (divisor arg_y) (recip arg_z))
    32   (std)                                 ;temp1 now unboxed
     32  (mark-as-imm temp1)
    3333  (let ((imm1 temp1)
    3434        (n temp0))
     
    4747    (andl (% imm0) (% divisor))
    4848    (addl (% divisor) (% arg_z)))
    49   (xorl (% temp1) (% temp1))
    50   (cld)                                 ;temp1 now boxed
     49  (mark-as-node temp1)
    5150  (single-value-return 3))
    5251
Note: See TracChangeset for help on using the changeset viewer.