[llvm-commits] atomic operator patch

Duncan Sands baldrick at free.fr
Sun May 4 03:12:02 PDT 2008


On Wednesday 30 April 2008 03:38:34 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.

Does gcc implement these?

Ciao,

Duncan.



More information about the llvm-commits mailing list