This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Moving mp_limb_t initialization to compile time
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, <libc-alpha at sourceware dot org>
- Date: Wed, 15 May 2013 15:50:55 +0000
- Subject: Re: Moving mp_limb_t initialization to compile time
- References: <1368459372-2415-1-git-send-email-pcc at google dot com> <1368459372-2415-6-git-send-email-pcc at google dot com> <519114FF dot 9030501 at twiddle dot net> <CAMn1gO5AM73ZhN7rO6UnFPG9R4fmW34uhsqmAZb-E175JUBAbg at mail dot gmail dot com> <51933CEE dot 3060901 at redhat dot com> <mvmfvxoy948 dot fsf at hawking dot suse dot de> <5193A20C dot 1010306 at twiddle dot net> <5193ADA4 dot 9060604 at twiddle dot net>
On Wed, 15 May 2013, Richard Henderson wrote:
> Perhaps something like
>
> #if defined(_LONG_LONG_LIMB) || __LONG_MAX__ > 0xfffffffful
Use BITS_PER_MP_LIMB from gmp-mparam.h here (as in stdlib/fpioconst.[ch]).
--
Joseph S. Myers
joseph@codesourcery.com