summaryrefslogtreecommitdiff
path: root/r600/lib/atomic
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-09-06 20:20:21 +0000
committerAaron Watry <awatry@gmail.com>2013-09-06 20:20:21 +0000
commitd00ce85a6b60a1e21294c079e640775f8bf0ba3d (patch)
treefd2e226fdfb6e0a5d00ca7893d8634fa54c84ba4 /r600/lib/atomic
parent8ddebf13fd2a970973cb983c4488a65f46fab9b2 (diff)
Add atomic_sub and atomic_dec builtin functions
Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@190201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'r600/lib/atomic')
-rw-r--r--r600/lib/atomic/atomic.cl1
1 files changed, 1 insertions, 0 deletions
diff --git a/r600/lib/atomic/atomic.cl b/r600/lib/atomic/atomic.cl
index e80180c..bd5ee64 100644
--- a/r600/lib/atomic/atomic.cl
+++ b/r600/lib/atomic/atomic.cl
@@ -18,3 +18,4 @@ _CLC_OVERLOAD _CLC_DEF SIGN TYPE FUNCTION (volatile CL_ADDRSPACE SIGN TYPE *p, S
ATOMIC_FUNC_ADDRSPACE(int, FUNCTION)
ATOMIC_FUNC(atomic_add)
+ATOMIC_FUNC(atomic_sub)