Jan Vesely
|
f965b46c8e
|
atomic: Provide function implementation of atomic_{dec,inc}
Reviewed-By: Aaron Watry <awatry@gmail.com>
Tested-By: Aaron Watry <awatry@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 335278
|
2018-06-21 19:27:26 +00:00 |
Jan Vesely
|
1fa727d615
|
Rework atomic ops to use clang builtins rather than llvm asm
reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 314112
|
2017-09-25 16:07:34 +00:00 |
Aaron Watry
|
0d976ba497
|
atomic: Add generic atom[ic]_cmpxchg
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217918
|
2014-09-16 22:34:49 +00:00 |
Aaron Watry
|
025d79ad6c
|
atomic: Implement generic atom[ic]_xchg
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217917
|
2014-09-16 22:34:45 +00:00 |
Aaron Watry
|
7cfa12c2a5
|
atomic: Add generic atomic_min implementation
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217916
|
2014-09-16 22:34:41 +00:00 |
Aaron Watry
|
3f0a1a4c27
|
atomic: Add generic atom[ic]_xor
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217915
|
2014-09-16 22:34:36 +00:00 |
Aaron Watry
|
31e67d1cff
|
atomic: Add atom[ic]_or
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217914
|
2014-09-16 22:34:32 +00:00 |
Aaron Watry
|
cc68405761
|
atomics: Add generic atom[ic]_and
Not used yet.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217913
|
2014-09-16 22:34:28 +00:00 |
Aaron Watry
|
49614fbfd9
|
atomic: Add generic implementation of atom[ic]_max
Not used yet...
v2: Correct int/uint behavior
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217912
|
2014-09-16 22:34:24 +00:00 |
Aaron Watry
|
283e3fa011
|
Add atomic_sub and atomic_dec builtin functions
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 190201
|
2013-09-06 20:20:21 +00:00 |
Aaron Watry
|
50a7bcbac9
|
Add atomic_inc and atomic_add builtins
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 190058
|
2013-09-05 16:04:01 +00:00 |