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

Joseph Myers joseph@codesourcery.com
Wed Jan 27 17:19:00 GMT 2016


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



More information about the Libc-alpha mailing list