According to https://www.agner.org/optimize/instruction_tables.pdf
They are different in zen4
LOCK CMPXCHG, Ops=5, Latency=9
LOCK CMPXCHG8B, Ops=15, Latency=10
instruction reference: // can't see any difference
According to https://www.agner.org/optimize/instruction_tables.pdf
They are different in zen4
LOCK CMPXCHG, Ops=5, Latency=9
LOCK CMPXCHG8B, Ops=15, Latency=10
instruction reference: // can't see any difference