2 ms·
No idea and don't want to dig into Intel docs right now, but I would be surprised if they were full fences as I think xbegin/xend would only require acquire/rel
by gpderetta 10y ago
No idea and don't want to dig into Intel docs right now, but I would be surprised if they were full fences as I think xbegin/xend would only require acquire/release semantics.
xacquire/xrelease can be used as modifiers to existing lock prefixed RMW instructions which are already full barriers, giving them optimistic locking capabilities.
- valarauca1 10y agoOkay so I asking around on the intel forums. They fences for instruction ordering, and cache load/flush. But not for load/stores. If you load/store from data within an RTM region (after _xend()) you have no atomic protections.