boostorg / interprocess

Boost.org interprocess module
http://boost.org/libs/interprocess
134 stars 117 forks source link

x86 inline assembly should provide an alternative for Intel syntax #196

Open lhmouse opened 1 year ago

lhmouse commented 1 year ago

Instead of https://github.com/boostorg/interprocess/blob/a0c5a8ff176434c9024d4540ce092a2eebb8c5c3/include/boost/interprocess/detail/atomic.hpp#L174 we should have

"xadd { %1, %0 | %0, %1 }":