[libclc] 33/58: Replace llvm.AMDGPU.ldexp with llvm.amdgcn.ldexp
Andreas Boll
aboll-guest at moszumanska.debian.org
Thu Oct 6 08:16:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit ffb74a43fd98a16682e254101fb3eab17166c8b5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon Jul 18 16:42:50 2016 +0000
Replace llvm.AMDGPU.ldexp with llvm.amdgcn.ldexp
It didn't really work on r600 to begin with, which should
get its own intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@275813 91177308-0d34-0410-b5e6-96231b3b80d8
---
amdgcn/lib/SOURCES | 1 +
{amdgpu => amdgcn}/lib/math/ldexp.cl | 4 ++--
amdgpu/lib/SOURCES | 1 -
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/amdgcn/lib/SOURCES b/amdgcn/lib/SOURCES
index 49c8dd5..ada06d2 100644
--- a/amdgcn/lib/SOURCES
+++ b/amdgcn/lib/SOURCES
@@ -1,3 +1,4 @@
+math/ldexp.cl
synchronization/barrier_impl.ll
workitem/get_group_id.ll
workitem/get_local_id.ll
diff --git a/amdgpu/lib/math/ldexp.cl b/amdgcn/lib/math/ldexp.cl
similarity index 94%
rename from amdgpu/lib/math/ldexp.cl
rename to amdgcn/lib/math/ldexp.cl
index 80439ce..9713e4d 100644
--- a/amdgpu/lib/math/ldexp.cl
+++ b/amdgcn/lib/math/ldexp.cl
@@ -25,7 +25,7 @@
#include "../../../generic/lib/clcmacro.h"
#ifdef __HAS_LDEXPF__
-#define BUILTINF __builtin_amdgpu_ldexpf
+#define BUILTINF __builtin_amdgcn_ldexpf
#else
#include "math/clc_ldexp.h"
#define BUILTINF __clc_ldexp
@@ -37,7 +37,7 @@ _CLC_DEFINE_BINARY_BUILTIN(float, ldexp, BUILTINF, float, int);
#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
// This defines all the ldexp(doubleN, intN) variants.
- _CLC_DEFINE_BINARY_BUILTIN(double, ldexp, __builtin_amdgpu_ldexp, double, int);
+ _CLC_DEFINE_BINARY_BUILTIN(double, ldexp, __builtin_amdgcn_ldexp, double, int);
#endif
// This defines all the ldexp(GENTYPE, int);
diff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES
index 0f99fe1..39287bf 100644
--- a/amdgpu/lib/SOURCES
+++ b/amdgpu/lib/SOURCES
@@ -1,5 +1,4 @@
atomic/atomic.cl
-math/ldexp.cl
math/nextafter.cl
math/sqrt.cl
workitem/get_num_groups.ll
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list