This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is __i686 undefined for x86_64 -m32 (in mainline)


On Tue, Mar 16, 2010 at 1:30 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> On 03/16/2010 10:20 PM, H.J. Lu wrote:
>> That is not true. The new -m32 default ISA on x86-64 is i686 + MMX + SSE + SSE2.
>> It is Pentium 4, not i686. ?For historical reason, we define __k8
>> instead of __pentium4.
>>
> Ah, ok, this is what I was missing! We have *more* than i686. Thus I can
> check for __k8.
>

Please check __SSE__ since __k8 won't be defined for -march=atom.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]