This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Move sysdeps/x86_64/Implies to sysdeps/x86_64/64
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 07 Apr 2012 11:54:27 -0700
- Subject: Re: PATCH: Move sysdeps/x86_64/Implies to sysdeps/x86_64/64
- References: <20120322175315.GA9938@intel.com> <CAMe9rOriXXrVWVLLuES8OUAXvbcVgcJEAYAgJjHWr3YCB2JmaQ@mail.gmail.com> <CAMe9rOru6EXRsoqaBKS0a9fGqwey+52DCak0MwGPM1bzWf29NQ@mail.gmail.com> <20120322204013.868A12C086@topped-with-meat.com> <CAMe9rOq87mKXdoMOGH=cxiq8C6qhK7bTi5bAB9jQk_Eg7x72Vw@mail.gmail.com> <20120322210647.330402C07E@topped-with-meat.com> <CAMe9rOpiAWE8U2XFxgavJBi9FUomTZh3XEwcdYN59qNBR8OM7g@mail.gmail.com> <20120322211655.C5E992C07E@topped-with-meat.com> <CAMe9rOp7AVVWn_Bo6sKC7yRuCaRxiqUXGpLCm9wqvg2aSjHx-Q@mail.gmail.com> <20120322220155.1AC112C07E@topped-with-meat.com> <CAMe9rOqj3J=fw984tRMG-FTgxgxbKbjRZJzrnoaOfqzAi815+g@mail.gmail.com> <20120322222523.5F52A2C08D@topped-with-meat.com> <CAMe9rOqqKB0g_0xoueMWX-902eOeFqpw3LmO7Ej6p=xERjWtCQ@mail.gmail.com> <20120406210447.642DE2C0C4@topped-with-meat.com> <CAMe9rOo1gPRVRqhTwYjwdhKWyTgn2-aJMsLnHw7ZYZjPDnGiJw@mail.gmail.com> <Pine.LNX.4.64.1204071511060.12109@digraph.polyomino.org.uk>
On 04/07/2012 08:19 AM, Joseph S. Myers wrote:
> (We also need a clear statement of what the __WORDSIZE define from
> bits/wordsize.h means. Given the uses in stdint.h, and existing practice
> for MIPS for example, I think it's "long is 64-bit".)
In that case shouldn't it be called __LONGSIZE?
>From the comments in bits/types.h, __WORDSIZE is intended to be the
size of the "natural word", a slippery concept. It may be time to
bite the bullet, and to rename __WORDSIZE to __LONGSIZE so that its
meaning is clear, and to substitute something else in any place
where the code is dealing with something other than 'long'.