[cfe-commits] [libclc] r165385 - in /libclc/trunk/generic/include/clc: clc.h math/native_powr.h

Peter Collingbourne peter at pcc.me.uk
Sun Oct 7 20:39:05 PDT 2012


Author: pcc
Date: Sun Oct  7 22:39:05 2012
New Revision: 165385

URL: http://llvm.org/viewvc/llvm-project?rev=165385&view=rev
Log:
Add native_powr builtin.  Patch by Tom Stellard!

Added:
    libclc/trunk/generic/include/clc/math/native_powr.h
Modified:
    libclc/trunk/generic/include/clc/clc.h

Modified: libclc/trunk/generic/include/clc/clc.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/clc.h?rev=165385&r1=165384&r2=165385&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/clc.h (original)
+++ libclc/trunk/generic/include/clc/clc.h Sun Oct  7 22:39:05 2012
@@ -51,6 +51,7 @@
 #include <clc/math/native_exp2.h>
 #include <clc/math/native_log.h>
 #include <clc/math/native_log2.h>
+#include <clc/math/native_powr.h>
 #include <clc/math/native_sin.h>
 #include <clc/math/native_sqrt.h>
 #include <clc/math/rsqrt.h>

Added: libclc/trunk/generic/include/clc/math/native_powr.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/native_powr.h?rev=165385&view=auto
==============================================================================
--- libclc/trunk/generic/include/clc/math/native_powr.h (added)
+++ libclc/trunk/generic/include/clc/math/native_powr.h Sun Oct  7 22:39:05 2012
@@ -0,0 +1 @@
+#define native_powr pow





More information about the cfe-commits mailing list