diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-07-08 23:31:17 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-07-08 23:31:17 +0000 |
commit | c3e0fb406fb6fe83566dc6d8b05362e0a2c1e191 (patch) | |
tree | d15e131d7a8db0ae4d92178bf3d3169f7f6ddcf6 /lib/CodeGen/CGClass.cpp | |
parent | 528a8c7b4c39ae1c551760fd087a508a71ee9541 (diff) |
Change -mno-mmx to be more compatible with gcc. Specifically, -mno-mmx should not imply -mno-sse.
Note that because we don't usually touch the MMX registers anyway, all -mno-mmx needs to do is tweak the x86-32 calling convention a little for vectors that look like MMX vectors, and prevent the definition of __MMX__.
clang doesn't actually stop the user from using MMX inline asm operands or MMX builtins in -mno-mmx mode; as a QOI issue, it would be nice to diagnose, but I doubt it really matters much.
<rdar://problem/9694837>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions