[llvmlinux] [PATCH] x86/hweight: LLVMLinux: Fix __arch_hweight{32, 64}() for compilation with clang

Jan-Simon Moeller dl9pf at gmx.de
Sun Sep 13 22:46:12 UTC 2015


Am Montag, 14. September 2015, 00:12:09 schrieb PaX Team:
> > 
> > The issues is that clang does not support these flags. So exactly the
> > "do not clobber" trick does not happen.
> 
> i know, that's why my patch removed the fast path which works with 
clang
> (but it isn't good for upstream, hence my suggestion to use thunk*.S
> instead).

Yep, full ack.


More information about the LLVMLinux mailing list