This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc -march=nocona -mtune=nocona --help=target
- From: Oleg Kravchenko <oleg at kaa dot org dot ua>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 17:25:23 +0300
- Subject: Re: gcc -march=nocona -mtune=nocona --help=target
- References: <49EED736.1030505@kaa.org.ua> <m3d4b4ak8w.fsf@google.com> <49EF1FE0.2030600@kaa.org.ua> <m3ocuo93az.fsf@google.com>
Ian Lance Taylor ÐÐÐÐÑÐÐ(ÐÐ):
> Oleg Kravchenko <oleg@kaa.org.ua> writes:
>
>
>> Ian Lance Taylor ÐÐÐÐÑÐÐ(ÐÐ):
>>
>>> Oleg Kravchenko <oleg@kaa.org.ua> writes:
>>>
>>>
>>>
>>>> Why gcc say what mmx, sse, sse2 is disabled?
>>>>
>>>> $ gcc -march=nocona -mtune=nocona --help=target
>>>>
>>>>
>>> They are disabled because you didn't explicitly request them.
>>>
>>> Ian
>>>
>>>
>> It's mean my code will be compiled without optimization?
>>
>
> Please send e-mail to the list, not just to me. Thanks.
>
> I assume you are asking whether the code will use SSE instructions if
> appropriate. Yes, it will, because you specified -march with a
> processor that supports SSE. The output of --help=target just tells you
> the status of the various command line options; it doesn't tell you
> which architecture will be used.
>
> Ian
>
Thank you very much! :)