Implement ceil() builtin

llvm-svn: 184988
This commit is contained in:
Tom Stellard 2013-06-26 18:20:30 +00:00
parent 509b3b2104
commit 207345820f
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,7 @@
/* 6.11.2 Math Functions */
#include <clc/math/cos.h>
#include <clc/math/ceil.h>
#include <clc/math/exp.h>
#include <clc/math/exp2.h>
#include <clc/math/fabs.h>

View File

@ -0,0 +1,6 @@
#undef ceil
#define ceil __clc_ceil
#define FUNCTION __clc_ceil
#define INTRINSIC "llvm.ceil"
#include <clc/math/unary_intrin.inc>