Ignore:
Timestamp:
Jun 16, 2010, 1:55:30 AM (9 years ago)
Author:
gb
Message:

Allow temp/dest to be the same reg in header-length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/arm/lisp-kernel/arm-macros.s

    r13826 r13844  
    145145        /* "Length" is fixnum element count */
    146146define(`header_length',`
    147         __(mov $1,#-1<<fixnumshift)
    148         __(and $1,$1,$2,lsr #num_subtag_bits-fixnumshift)
     147        __(bic $1,$2,#subtag_mask)
     148        __(mov $1,$1,lsr #num_subtag_bits-fixnumshift)
    149149        ')
    150150
Note: See TracChangeset for help on using the changeset viewer.