[zeromq-dev] [PATCH] Update to OpenPGM 5.1.110.
Steven McCoy
steven.mccoy at miru.hk
Mon Mar 7 05:08:23 CET 2011
On 7 March 2011 01:31, Alex Forster <alex at alexforster.com> wrote:
> Steven McCoy <steven.mccoy <at> miru.hk> writes:
>
> > Clean builds under Win64.
> > ...
> > Improve spinlock performance with inline ticket based spinlock
> implementation.
>
>
> http://www.google.com/search?q=__asm+keyword+not+supported+on+this+architecture
>
> ticket.h is coughing up because Visual C++ doesn't support inline assembly
> when
> targeting 64-bit.
>
>
Oh that's nice.
> http://code.google.com/p/openpgm/source/diff?
>
> spec=svn1294&r=1294&format=side&path=/trunk/openpgm/pgm/include/impl/ticket.h
>
> This diff points out where the problem areas are-
>
> pgm_atomic_add8
> pgm_atomic_fetch_and_add8
> pgm_atomic_inc8
>
> pgm_atomic_add16
> pgm_atomic_fetch_and_add16
> pgm_atomic_inc16
>
>
It was a clean build before ticket locks :-)
I've added some MASM64 to trunk to implement the assembler as functions but
I'm without 64-bit MSVC to test, I wouldn't say I"m overly confident on the
64-bit assembler either.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110307/4e7a9604/attachment.htm>
More information about the zeromq-dev
mailing list