]> granicus.if.org Git - clang/commitdiff
Add a comment explaining why the MMX builtins are segregated and what we plan on
authorBill Wendling <isanbard@gmail.com>
Tue, 21 Sep 2010 01:39:34 +0000 (01:39 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 21 Sep 2010 01:39:34 +0000 (01:39 +0000)
doing with them. It's a "FIXME" right now because this change hasn't been
implemented yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114385 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/BuiltinsX86.def

index 955e71c30eb15d10f4effdb0620cec8242dd7be1..025e7b60c23c13836c4d04664ea86fad2de8ee02 100644 (file)
 // 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", "")