meaning of 64bit: not only large memory, but large atomic integer
redsea
redsea at 163.com
Wed Jan 7 18:44:02 PST 2009
Sean Kelly Wrote:
> The IA-32 instruction set contains a 64-bit CAS operation in addition to
> the 32-bit CAS. You don't even need a 64-bit machine to do it! The
> atomics module in Tango supports 64-bit storeIf operations on 32-bit
> Intel platforms.
Thanks Sean Kelly and Robert Jacques for teaching me.
I read following in linux kernel code, so I think x86 32 can not support 64 CAS.
I'm going to read tango atomic code :)
#ifdef CONFIG_X86_32
# include "atomic_32.h"
#else
# include "atomic_64.h"
#endif
More information about the Digitalmars-d
mailing list