This is the mail archive of the
mailing list for the GCC project.
Re: Plans for Linux ELF "i686+" ABI ? Like SPARC V8+ ?
Richard Guenther wrote:
What does this mean? In 32-bit linux gcc, as currently set up, double
alignment may be disabled by setting -Os or by
-mpreferred-stack-boundary, but otherwise it is the default. The 64-bit
int registers aren't available in 32-bit mode. Are you proposing a
64-bit mode with the same alignments as -Os sets in 32-bit mode?
The idea is not exactly new, the main complication is that it would need
hacking both the gcc (and glibc) side and the kernel syscall interface. The
32bit compatibility entries cannot be used if you want to align long long and
double naturally (which you certainly want, for performance reasons).