[Vm-dev] [commit][2998] Integrate the fix to sqCompareAndSwapRes on ARM.

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Jun 13 19:51:59 UTC 2014


Ah, that makes me think i should send you the full rewrite...

Nicolas


2014-06-13 18:48 GMT+02:00 <commits at squeakvm.org>:

>
> Revision: 2998
> Author:   eliot
> Date:     2014-06-13 09:48:22 -0700 (Fri, 13 Jun 2014)
> Log Message:
> -----------
> Integrate the fix to sqCompareAndSwapRes on ARM.
> Add ignore props to products subdirs.
>
> Modified Paths:
> --------------
>     branches/Cog/platforms/Cross/vm/sqAtomicOps.h
>
> Removed Paths:
> -------------
>     branches/Cog/spurcogbuild/cygwinbuild/
>     branches/Cog/spursistamacbuild/
>
> Property Changed:
> ----------------
>     branches/Cog/products/assert/
>     branches/Cog/products/debug/
>
> Modified: branches/Cog/platforms/Cross/vm/sqAtomicOps.h
> ===================================================================
> --- branches/Cog/platforms/Cross/vm/sqAtomicOps.h       2014-06-13
> 07:19:51 UTC (rev 2997)
> +++ branches/Cog/platforms/Cross/vm/sqAtomicOps.h       2014-06-13
> 16:48:22 UTC (rev 2998)
> @@ -238,7 +238,7 @@
>         __sync_bool_compare_and_swap(&(var), (old), (new))
>
>  # define sqCompareAndSwapRes(var,old,new,res) \
> -       __sync_val_compare_and_swap(&(var), (old), (new))
> +       (res = __sync_val_compare_and_swap(&(var), (old), (new)))
>
>  #else
>  /* Dear implementor, you have choices.  Google atomic increment and you
> will
>
>
> Property changes on: branches/Cog/products/assert
> ___________________________________________________________________
> Added: svn:ignore
>    + *
>
>
>
> Property changes on: branches/Cog/products/debug
> ___________________________________________________________________
> Added: svn:ignore
>    + *
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140613/52742053/attachment.htm


More information about the Vm-dev mailing list