<div dir="ltr">All,<br><br>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 all 1's).<div>

<br></div><div>Is there a reason implementation-wise that they are not there?</div><div><br></div><div>Additionally, would it be possible to create something similar to AtomicRMW that returned the new value instead of the old one?<br>

<br>If not, I would be interested in learning why.</div><div><br></div><div>Thanks,<br>Billy</div></div>