Owen Anderson
|
1fdf01026b
|
Add atomic multiply and divide operations, built on top of CompareAndSwap.
llvm-svn: 74004
|
2009-06-23 21:19:04 +00:00 |
Owen Anderson
|
5cc4131063
|
Revert my last series of commits related to Timer and 64-bit atomics. Not all the targets
we care about are capable of supporting it.
llvm-svn: 73993
|
2009-06-23 20:17:22 +00:00 |
Owen Anderson
|
9262d43c5d
|
Atomic ops that do arithmetic use signed arithmetic.
llvm-svn: 73980
|
2009-06-23 18:30:27 +00:00 |
Owen Anderson
|
9e3df5b67f
|
Label the existing atomic functions as 32-bit specific, and add a 64-bit one that will be useful in
the near future.
llvm-svn: 73971
|
2009-06-23 18:01:04 +00:00 |
Owen Anderson
|
cdf2b2dfea
|
Add an atomic add operation.
llvm-svn: 73964
|
2009-06-23 17:39:31 +00:00 |
Owen Anderson
|
ff5f14c15e
|
Fix bad paste-o in the MSVC atomics.
Patch by Ðван СоÑокин.
llvm-svn: 73779
|
2009-06-19 18:37:50 +00:00 |
Owen Anderson
|
82b58a843b
|
Use atomic increment/decrement for reference counting of Type's.
llvm-svn: 73588
|
2009-06-17 00:28:49 +00:00 |
Owen Anderson
|
8d0fe6f0d7
|
Add an atomic increment and decrement implementation, which will be used for
thread-safe reference counting.
llvm-svn: 73587
|
2009-06-17 00:13:00 +00:00 |
Duncan Sands
|
06b61a281a
|
At a newline at the end of this file.
llvm-svn: 72767
|
2009-06-03 11:54:28 +00:00 |
Owen Anderson
|
5bd914d0ae
|
Undef MemoryFence when compiling on MSVC.
llvm-svn: 72732
|
2009-06-02 17:35:55 +00:00 |
Owen Anderson
|
76ae5dde51
|
Tabs, be gone!
llvm-svn: 72180
|
2009-05-20 19:06:49 +00:00 |
Owen Anderson
|
5b9400d6bd
|
I just fail today.
Hopefully this fixes the last build errors on systems with GCC < 4.1.
llvm-svn: 72179
|
2009-05-20 19:01:50 +00:00 |
Owen Anderson
|
04911b4fee
|
Copy-and-paste-o.
llvm-svn: 72177
|
2009-05-20 18:47:53 +00:00 |
Owen Anderson
|
e5370f409b
|
Move atomic operations' definitions out of line. While this seems kind of silly,
all kinds of problems caused by including windows.h and/or config.h in an LLVM header.
llvm-svn: 72174
|
2009-05-20 18:26:15 +00:00 |