[cfe-commits] r57101 - /cfe/trunk/test/CodeGen/builtins.c
Daniel Dunbar
daniel at zuster.org
Sat Oct 4 23:34:46 PDT 2008
Author: ddunbar
Date: Sun Oct 5 01:34:45 2008
New Revision: 57101
URL: http://llvm.org/viewvc/llvm-project?rev=57101&view=rev
Log:
Add some builtins to codegen test case.
Modified:
cfe/trunk/test/CodeGen/builtins.c
Modified: cfe/trunk/test/CodeGen/builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins.c?rev=57101&r1=57100&r2=57101&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins.c (original)
+++ cfe/trunk/test/CodeGen/builtins.c Sun Oct 5 01:34:45 2008
@@ -38,15 +38,26 @@
// P(fpclassify, (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, 1.0));
// P(isinf_sign, (1.0));
- // FIXME:
- // XXX I don't know what the string arg is for
- Q(nan, ("0x12"));
- Q(nanf, ("0x12"));
- Q(nanl, ("0x12"));
- Q(nans, ("0x12"));
+ Q(nan, (""));
+ Q(nanf, (""));
+ Q(nanl, (""));
+ Q(nans, (""));
+ Q(nan, ("10"));
+ Q(nanf, ("10"));
+ Q(nanl, ("10"));
+ Q(nans, ("10"));
+
+ P(isgreater, (1., 2.));
+ P(isgreaterequal, (1., 2.));
+ P(isless, (1., 2.));
+ P(islessequal, (1., 2.));
+ P(islessgreater, (1., 2.));
+ P(isunordered, (1., 2.));
// Bitwise & Numeric Functions
+ P(abs, (N));
+
P(clz, (N));
P(clzl, (N));
P(clzll, (N));
More information about the cfe-commits
mailing list