This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Remove uses of operand modifier (%s) in inline asm


On Wed, 27 Jan 2016, Gabriel F. T. Gomes wrote:

> Thus, we can replace __builtin_ffs with __builtin_clz and remove the %s operand
> modifier.

Doesn't that mean you need to make these definitions conditional on 
__GNUC_PREREQ (3, 4) (which I think should be fine to do - we shouldn't 
need to care about these optimizations for pre-3.4 compilers), as that was 
the version where __builtin_clz was introduced?

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]