[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ffs vs __builtin_ffs

>>> On 31.10.13 at 11:53, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> Would it be acceptable to provide a patch which does a straight replace
> of the static inline function with a define?  __builtin_ffs is supported
> in all compilers we support, but there does not appear to any sane way
> to detect the presence of the builtin.

Fine by me as long as corner cases get handled identically by both.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.