This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: fix ifunc-sel.h fix asm constraints and clobber list
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Aurelien Jarno <aurelien at aurel32 dot net>, libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 22 Jul 2016 11:38:21 -0300
- Subject: Re: [PATCH] powerpc: fix ifunc-sel.h fix asm constraints and clobber list
- Authentication-results: sourceware.org; auth=none
- References: <1469113299-11997-1-git-send-email-aurelien@aurel32.net>
Aurelien Jarno <aurelien@aurel32.net> writes:
> As pointer out on the mailing list, the inline assembly code in
> sysdeps/powerpc/ifunc-sel.h doesn't have a list of clobbered registers
> and used wrong constraints.
>
> This patch fixes that. I verified it doesn't introduce any change in the
> generated code.
>
> Changelog:
> * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
> clobber list. Use "i" constraint instead of "X".
> (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
> of "X".
LGTM.
--
Tulio Magno