[cfe-commits] r137905 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Aug 17 19:16:34 PDT 2011
On Wed, Aug 17, 2011 at 6:23 PM, Chandler Carruth <chandlerc at google.com> wrote:
> On Wed, Aug 17, 2011 at 5:07 PM, Bruno Cardoso Lopes
> <bruno.cardoso at gmail.com> wrote:
>>
>> Author: bruno
>> Date: Wed Aug 17 19:07:03 2011
>> New Revision: 137905
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=137905&view=rev
>> Log:
>> "-mavx" should also enable all other SSE levels.
>
> Related to this, someone recently noticed that with GCC -msse* appears to
> imply -mmmx. It doesn't on Clang. Should it?
I intentionally made the sse and mmx options independent, so that
someone can, for example, specify -mno-mmx without losing the ability
to use the SSE registers. It isn't precisely compatible with gcc in
the sense that -march=i686 -msse2 doesn't enable MMX for clang, but I
don't think we want to emulate gcc's approach of generating SSE code
with -mno-sse. :)
-Eli
More information about the cfe-commits
mailing list