
24 Oct
2006
24 Oct
'06
11:11 p.m.
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:001801c6f7bd$c32f62a0$6607a8c0@pdimov2...
Chris Thomasson wrote:
How does the original algorithm compare to yours?
I haven't tried it yet. Will do.
Humm... I would also be interested in seeing a comparison between your implementation of the algorithm and the prototype I am currently whipping up in assembly... Humm... Calls to a DWCAS function in a loop, in C/C++, can be fairly expensive when compared to a tight cmpxchg8b loop in assembly, that makes no function calls with volatile/compiler-barrier restraints per-loop... Perhaps 2-4 instructions per-loop... [...]
Various. Here's the test:
need to look at this more closely...