Boost logo

Boost :

Subject: Re: [boost] [predef] Status and review results?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-04-21 23:18:42


On Monday 22 April 2013 01:45:42 Lars Viklund wrote:
> On Mon, Apr 22, 2013 at 01:22:33AM +0400, Andrey Semashev wrote:
> >
> > Also, FYI there is a new "architecture" x86_32 on Linux, which is not
> > legacy x86 described by your BOOST_ARCH_X86_32 macro. x86_32 is
> > essentially x86_64 with 32 bit pointers and size types. You should
> > probably make this clear in the docs and I'd even rename
> > BOOST_ARCH_X86_32 to BOOST_ARCH_X86_LEGACY or something because of this
> > and introduce BOOST_ARCH_X86_32 with the new meaning. Sorry, I don't have
> > specific macros to detect x86_32 right now but it is supported by gcc.
>
> I thought that the mongrel ABI was properly called "x32" [1][2][3].
> Searching for x86_32 just seems to hit a bunch of confused people
> actually meaning the regular boring 32-bit x86.
>
> While they made an odd naming decision calling it "x32", calling it
> something else than what it's actually called would be a disservice.
>
> [1] http://gcc.gnu.org/ml/gcc/2011-05/msg00246.html
> [2] https://sites.google.com/site/x32abi/
> [3] http://en.wikipedia.org/wiki/X32_ABI
> [4] http://wiki.debian.org/X32Port

You're right, I'm not entirely sure where I got the x86_32 naming. Sorry for
the confusion.

Then there is no need for renaming, and a new macro BOOST_ARCH_X32 or
BOOST_ARCH_X86_X32 seems appropriate.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk