gcc -march=nocona -mtune=nocona --help=target
Oleg Kravchenko
oleg@kaa.org.ua
Wed Apr 22 14:25:00 GMT 2009
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! :)
More information about the Gcc-help
mailing list