Does SPARC v9 have a double word-swap comparison command?

So, on a 64-bit SPARC processor compatible with v9, there is I know the cas instruction . This works with single word lengths.

I also saw a link to casx instructions on the Internet , but I can’t find out more about this.

I wonder - is this a double comparison of words and swap?

And if not, the general question is: Is there a double word comparison and swap?

+3
source share
3 answers

Sparc64 - - CAS, LL/SC. , . , (ABA), - CAS LL/SC. , Sparce - .

0

CASXA. . SPARC.

+1

, casx , (.. ) casxa. . 43 SPARC:

Synthetic:   casx [regrs1], regrs2, regrd 
Instruction: casxa [regrs1]#ASI_P, regrs2, regrd 
Description: compare and swap extended 
+1

Source: https://habr.com/ru/post/1715090/


All Articles