This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Remove uses of operand modifier (%s) in inline asm
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- Cc: <tuliom at linux dot vnet dot ibm dot com>, <timshen at google dot com>, <libc-alpha at sourceware dot org>
- Date: Wed, 27 Jan 2016 17:19:12 +0000
- Subject: Re: [PATCH] powerpc: Remove uses of operand modifier (%s) in inline asm
- Authentication-results: sourceware.org; auth=none
- References: <87egdbumu6 dot fsf at totoro dot br dot ibm dot com> <1453901144-3662-1-git-send-email-gftg at linux dot vnet dot ibm dot com>
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