]> granicus.if.org Git - clang/commit
Make our handling of MMX x SSE closer to what gcc does:
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 27 Nov 2011 20:00:43 +0000 (20:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 27 Nov 2011 20:00:43 +0000 (20:00 +0000)
commit53ac3d88f9089affe6c5a93dc31d45a4a6f77447
tree3ae5bc3e323581b2b4701bdb93fe4c2a25a2669f
parent2871020b2d30b8a642c02280be849a7924426222
Make our handling of MMX x SSE closer to what gcc does:

* Enabling sse enables mmx.
* Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already).
* The order in not important. -msse -mno-mmx is the same as -mno-mmx -msse.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145194 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/mmx.c [new file with mode: 0644]