[LLVMdev] AtomicRMW Additions
moses.williamsteven at gmail.com
Thu Jan 2 19:40:33 PST 2014
I was wondering if the following operations could be implemented atomically
in LLVM (a la AtomicRMW): Multiplication, Division, Remainder, Bit
Shifting, or Logical Not (this could be implemented by xor with a value of
Is there a reason implementation-wise that they are not there?
Additionally, would it be possible to create something similar to AtomicRMW
that returned the new value instead of the old one?
If not, I would be interested in learning why.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev