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: PR math/12775: Typo in sysdeps/x86_64/fpu/e_powl.S


On Wednesday, May 18, 2011 05:11:43 AM H.J. Lu wrote:
> Hi,
> 
> `0x' is missing.  This patch fixes it.

do you have a patch for the testsuite to regression test this?

Andreas

> 
> H.J.
> --
> 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR math/12775
> 	* sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
> 
> diff --git a/sysdeps/x86_64/fpu/e_powl.S b/sysdeps/x86_64/fpu/e_powl.S
> index 4959bea..f6a09c8 100644
> --- a/sysdeps/x86_64/fpu/e_powl.S
> +++ b/sysdeps/x86_64/fpu/e_powl.S
> @@ -154,7 +154,7 @@ ENTRY(__ieee754_powl)
>  	fucompp			// 1.0 : x : y
>  	fnstsw
>  	fxch			// x : 1.0 : y
> -	test	$4500,%eax
> +	test	$0x4500,%eax
>  	jz	7f
>  	fsub	%st(1)		// x-1 : 1.0 : y
>  	fyl2xp1			// log2(x) : y

-- 
 Andreas Jaeger, Program Manager openSUSE
  aj@{novell.com,suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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