Liste des Groupes | Revenir à cl c |
Why do you say that its an x64 instruction? cmpxchg8b is on IA-32. I used it all the time back in the day. Here is some of my old assembly code for a DWCAS. By the way, DWCAS means double-width compare-and-swap:[...]
https://web.archive.org/web/20060214112539/http://appcore.home.comcast.net/appcore/src/cpu/i686/ac_i686_masm_asm.html
It's prototype is:Oops! wrong link:
http://appcore.home.comcast.net/appcore/include/cpu/i686/ac_i686_h.html
__________________
AC_SYS_APIEXPORT
int AC_CDECL
np_ac_i686_atomic_dwcas_fence
( void*,
void*,
const void* );
__________________
Les messages affichés proviennent d'usenet.