This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix some issues in the benchmark and adapt PowerPC codeto the mpa changes
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, rsa at us dot ibm dot com
- Date: Tue, 12 Feb 2013 14:39:19 +0530
- Subject: Re: [PATCH] Fix some issues in the benchmark and adapt PowerPC codeto the mpa changes
- References: <20130118140029.GQ25252@spoyarek.pnq.redhat.com><1359575626-11306-1-git-send-email-tuliom@linux.vnet.ibm.com>
On Wed, Jan 30, 2013 at 05:53:46PM -0200, Tulio Magno Quites Machado Filho wrote:
> diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c b/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
> index b1784f2..71adbbb 100644
> --- a/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
> +++ b/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
> @@ -68,7 +68,7 @@ mcr (const mp_no *x, const mp_no *y, int p)
> }
>
> /* Compare the absolute values of two multiple precision numbers. */
> -int
> +long
> __acr (const mp_no *x, const mp_no *y, int p)
> {
> long i;
> diff --git a/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c b/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
> index b1784f2..71adbbb 100644
> --- a/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
> +++ b/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
> @@ -68,7 +68,7 @@ mcr (const mp_no *x, const mp_no *y, int p)
> }
>
> /* Compare the absolute values of two multiple precision numbers. */
> -int
> +long
> __acr (const mp_no *x, const mp_no *y, int p)
> {
> long i;
> --
> 1.7.7.6
>
Tulio,
This could go directly into master if Ryan is OK with it. I will put
the remaining bits on siddhesh/bench.
Siddhesh