[llvm-commits] atomic operator patch

Mon P Wang wangmp at apple.com
Tue Apr 29 18:38:34 PDT 2008


Currently, llvm support add, swap, and the compare and swap.  I  want  
to add support for atomic support for sub, and, or, xor, min and max  
(the latter two in both signed and unsigned version) in X86 line.  The  
intrinsic names are of the form  __sync_fetch_and_[opname] like other  
sync intrinsics.  If you have any issues or concerns, please let me  
know.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomic_op.patch
Type: application/octet-stream
Size: 30968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080429/2fdddf6d/attachment.obj>
-------------- next part --------------



More information about the llvm-commits mailing list