[cfe-commits] r114385 - /cfe/trunk/include/clang/Basic/BuiltinsX86.def

Bill Wendling isanbard at gmail.com
Mon Sep 20 18:39:34 PDT 2010


Author: void
Date: Mon Sep 20 20:39:34 2010
New Revision: 114385

URL: http://llvm.org/viewvc/llvm-project?rev=114385&view=rev
Log:
Add a comment explaining why the MMX builtins are segregated and what we plan on
doing with them. It's a "FIXME" right now because this change hasn't been
implemented yet.

Modified:
    cfe/trunk/include/clang/Basic/BuiltinsX86.def

Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsX86.def?rev=114385&r1=114384&r2=114385&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/BuiltinsX86.def (original)
+++ cfe/trunk/include/clang/Basic/BuiltinsX86.def Mon Sep 20 20:39:34 2010
@@ -25,6 +25,10 @@
 // FIXME: Are these nothrow/const?
 
 // MMX
+//
+// FIXME: All MMX instructions will be generated via builtins. Any MMX vector
+// types (<1 x i64>, <2 x i32>, etc.) that aren't used by these builtins will be
+// expanded by the back-end.
 BUILTIN(__builtin_ia32_emms, "v", "")
 BUILTIN(__builtin_ia32_femms, "v", "")
 BUILTIN(__builtin_ia32_paddb, "V8cV8cV8c", "")





More information about the cfe-commits mailing list