Changeset 9956


Ignore:
Timestamp:
Jul 10, 2008, 9:11:58 AM (11 years ago)
Author:
gb
Message:

Add comment warning of potential lossage from builtin_clz() (result not
defined if arg is 0; we only call it on non-zero args.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/bits.h

    r4014 r9956  
    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.