Closed khagankhan closed 3 months ago
Do we need xchgq_m_r
and xchgd_m_r
or can we (I think we can) simply use asm.d.xchg_m_r
and asm.q.xchg_m_r
?
Do we need
xchgq_m_r
andxchgd_m_r
or can we (I think we can) simply useasm.d.xchg_m_r
andasm.q.xchg_m_r
?
I think I prefer the explicit suffixes here.
Adds support for exchange instructions in
x86-64
that can be used for atomic stores and other purposes.