public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14116] New: Clean up 64-bit ABI vs 64-bit native size
@ 2012-05-16 16:57 hjl.tools at gmail dot com
2012-05-16 17:13 ` [Bug libc/14116] " roland at gnu dot org
2014-06-25 10:59 ` fweimer at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2012-05-16 16:57 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14116
Bug #: 14116
Summary: Clean up 64-bit ABI vs 64-bit native size
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: hjl.tools@gmail.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
From
http://sourceware.org/ml/libc-alpha/2012-05/msg00817.html
This gets into the general issue of the two meanings, "64-bit ABI - long,
off_t etc. are always 64-bit" (so various "long" and "long long" functions
can be aliases, for example) and "64-bit is the native size for various
operations, so use 64-bit types internally". Hitherto wordsize-64 has
been the former (which implies the latter). We haven't really had a way
to configure the latter in sysdeps directories, although you can make
gmp-mparam.h use a 64-bit type for the GMP code (and that, and soft-fp, is
the only way MIPS n32 really uses 64-bit internally in glibc).
Like MIPS n32, x32 is a case of 64-bit registers but 32-bit ABI; logically
we should maybe have separate sysdeps directories for this case, and if
necessary an associated define separate from __WORDSIZE. Most of the
dbl-64/wordsize-64 code is the "register size" case - except for lround /
llround where the size of "long" comes into it.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-25 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 16:57 [Bug libc/14116] New: Clean up 64-bit ABI vs 64-bit native size hjl.tools at gmail dot com
2012-05-16 17:13 ` [Bug libc/14116] " roland at gnu dot org
2014-06-25 10:59 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).