[cfe-commits] r44995 - /cfe/trunk/include/clang/AST/Builtins.def

Chris Lattner sabre at nondot.org
Wed Dec 12 23:41:58 PST 2007


Author: lattner
Date: Thu Dec 13 01:41:58 2007
New Revision: 44995

URL: http://llvm.org/viewvc/llvm-project?rev=44995&view=rev
Log:
add some builtins.

Modified:
    cfe/trunk/include/clang/AST/Builtins.def

Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=44995&r1=44994&r2=44995&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Thu Dec 13 01:41:58 2007
@@ -62,6 +62,14 @@
 BUILTIN(__builtin_fabsf, "ff"  , "ncF")
 BUILTIN(__builtin_fabsl, "LdLd", "ncF")
 
+// FP Comparisons.
+BUILTIN(__builtin_isgreater     , "i.", "nc")
+BUILTIN(__builtin_isgreaterequal, "i.", "nc")
+BUILTIN(__builtin_isless        , "i.", "nc")
+BUILTIN(__builtin_islessequal   , "i.", "nc")
+BUILTIN(__builtin_islessgreater , "i.", "nc")
+BUILTIN(__builtin_isunordered   , "i.", "nc")
+
 // Builtins for arithmetic.
 BUILTIN(__builtin_clz  , "iUi"  , "nc")
 BUILTIN(__builtin_clzl , "iULi" , "nc")





More information about the cfe-commits mailing list