
30 Mar
2010
30 Mar
'10
10:15 a.m.
On Tue, Mar 30, 2010 at 3:01 AM, Khiszinsky, Maxim <Maxim.Khiszinsky@billing.ru> wrote:
Tim Blechmann wrote:
cmp8xchg16 ... I'm not found any practical application of Itanium cmp8xchg16. At least in my tasks.
the idea is to compare only the tag
Hmm... Interesting. I use other implementation of tagged pointer when each pointer has its own incremental tag. Comparing only the tag means that there is global counter incremented atomically. As a result a contention on this global counter may be encountered... On the other hand, cmp8xchg16 lets me possibility implementing tagged pointer on Itanium...
You should be able to use the exact same algos, but compare only the tag. No global counter needed. -- Cory Nelson