The cmpxchg16b instruction for doing atomic 128 bit memory exchanges is not supported on old versions of the x64 processor but it seems like this has been supported by newer versions of the processor for several years now. How likely am I to encounter a 64-bit machine with an old processor that lacks this instruction?
feedback
|
migrated from stackoverflow.com Sep 11 '10 at 2:08
This question came from our site for professional and enthusiast programmers.
|
You are looking at early AMD 64-bit processors, before Rev D or E I think. There is some early stepping D Intel Noconas too that did not support it, I think, but these are rarer. | |||
|
feedback
|
|
I have no data regarding the prevalence of certain types of CPUs, so I can't directly answer your question. However, you can find out whether the CPU supports Also note that Intel's manuals suggest that for this instruction to be carried out atomically, you need to combine it with the | |||||||
feedback
|