[PATCH][X86] __builtin_ctz/clz sometimed defined for zero input

Chandler Carruth chandlerc at google.com
Mon Oct 27 17:17:07 PDT 2014


On Mon, Oct 27, 2014 at 5:02 PM, Robinson, Paul <
Paul_Robinson at playstation.sony.com> wrote:

> That makes lzcntintrin.h completely pointless.  They'd just be alternate
> names for the functions in Intrin.h.


If those names need to be supported for compatibility and portability then
it still seems to have a point.

Note that Intrin.h doesn't exist on Linux or Mac.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141027/d0ef4216/attachment.html>


More information about the cfe-commits mailing list