Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why did SUN depreciate the SWAP instruction on the SPARC?

0 views
Skip to first unread message

Chris Thomasson

unread,
Mar 27, 2008, 1:49:58 AM3/27/08
to
Here is some context for my query:

http://groups.google.com/group/comp.arch/msg/04cb5e2ca2a7e19a

http://groups.google.com/group/comp.programming.threads/msg/e57b5a101c74e293

http://groups.google.com/group/comp.programming.threads/msg/fcd35fc072a17109

http://groups.google.com/group/comp.programming.threads/msg/bc3f5217aac9f631


Why did SUN basically force me to use CAS to implement a SWAP? I don't like
the fact that they turned a perfectly fine wait-free 'SWAP' instruction into
a lock-free 'CAS' loop.

:^/


--
Chris M. Thomasson
http://appcore.home.comcast.net

0 new messages