Talk:Double Compare And Swap

From Wikipedia, the free encyclopedia

If CAS is compare-and-swap, wouldn't it be better for this page to be called "double compare-and-swap" instead of "Double Compare And Swap"? (Or vice-versa.) Falcotron 14:04, 19 June 2006 (UTC)

[edit] DCAS != CAS2 ?

as far as i know, while both are "double compare-and-swap" instructions, DCAS and CAS2 are not the same: DCAS works on any two words (i.e. two word-sized operands) and is only actually implemented on Motorola 68020 and 68030 processors, while CAS2 works on two contiguous words as a single operand (i.e. one doubleword-sized operand). of course i might be wrong, or simply it might be the case that different names are used in different contexts causing misunderstanding. while i'm at it, i'll mention intel's CMPXCHG family of instructions, where the sizes of the compare operand and the swap operand can be different (e.g. compare 64 bits and swap 128 bits in the CMP8BXCHG16B instruction on IA64). —Preceding unsigned comment added by 82.50.79.133 (talk) 13:10, 5 April 2008 (UTC)