Changeset 9780


Ignore:
Timestamp:
Jun 18, 2008, 12:43:19 AM (11 years ago)
Author:
rme
Message:

Fix .SPlogbitp dopiness.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/lisp-kernel/x86-spentry32.s

    r9774 r9780  
    38473847        __(jnz 1f)
    38483848        __(unbox_fixnum(%arg_y,%imm0))
    3849         __(cmpb $logbitp_max_bit,%imm0_b)
    3850         __(jae 1f)
     3849        __(js 1f)       /* bit number negative */
    38513850        __(addb $fixnumshift,%imm0_b)
    3852         __(bt %imm0,%arg_z)
     3851        __(cmpl $logbitp_max_bit<<fixnumshift,%arg_y)
     3852        __(jb 2f)
     3853        __(movl $logbitp_max_bit-1+fixnumshift,%imm0)
     38542:      __(bt %imm0,%arg_z)
    38533855        __(condition_to_boolean(b,%imm0,%arg_z))
    38543856        __(ret)
Note: See TracChangeset for help on using the changeset viewer.