Add some builtins to codegen test case.

llvm-svn: 57101
This commit is contained in:
Daniel Dunbar 2008-10-05 06:34:45 +00:00
parent b8ed192605
commit b11d5d65e8
1 changed files with 17 additions and 6 deletions

View File

@ -38,15 +38,26 @@ int main() {
// 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));