This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Check __x86_64__ instead of __WORDSIZE in mathinline.h
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 20 Mar 2012 09:19:21 +0100
- Subject: Re: PATCH: Check __x86_64__ instead of __WORDSIZE in mathinline.h
- References: <20120320004216.GA3909@intel.com>
On Tuesday, March 20, 2012 01:42:16 H.J. Lu wrote:
> Hi,
>
> Those inline functions depend on x86-64 architecture, not __WORDSIZE.
> This patch checks __x86_64__ instead of __WORDSIZE. OK to install?
>
> Thanks.
>
> H.J.
> ---
> 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
>
> * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
> <bits/wordsize.h>.
> (__signbitf): Check __x86_64__ instead of __WORDSIZE.
> (__signbit): Likwise.
> (llrintf): Likwise.
> (llrint): Likwise.
This is ok, thanks,
Andreas
--
Andreas Jaeger aj@{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,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126