Changeset 9899


Ignore:
Timestamp:
Jul 6, 2008, 8:47:41 AM (11 years ago)
Author:
gb
Message:

Add a comment, describing builtin_clz lossage. (I believe that
all lisp uses of count_leading_zeros involve arguments known to be non-zero.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/bits.h

    r4014 r9899  
    136136count_leading_zeros(natural w) __attribute__((always_inline));
    137137
     138
     139/* Beware: on some platforms, __builtin_clz[ll](0) returns an undefined
     140   result */
     141
    138142static __inline__ unsigned
    139143count_leading_zeros(natural w)
Note: See TracChangeset for help on using the changeset viewer.