[llvm-commits] atomic operator patch

Mon P Wang wangmp at apple.com
Tue Apr 29 20:39:59 PDT 2008


I have updated the patch because I forgot to delete some obsolete  
functions as well as removed some unnecessary indentation changes.




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


On Apr 29, 2008, at 6:38 PM, Mon P Wang wrote:

> 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.
>
> <atomic_op.patch>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list