[Vm-dev] [commit][3166]

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Dec 11 21:26:02 UTC 2014


2014-12-11 3:06 GMT+01:00 Eliot Miranda <eliot.miranda at gmail.com>:

>
> Hi Nicolas,
>
> On Wed, Dec 10, 2014 at 2:41 PM, Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com> wrote:
>
>>
>> Eliot,
>> concerning CAS, are these the changes I submitted, or some concurrent
>> implementation?
>>
>
> They're the current Cog definitions in sqAtomicOps.h & sqMemoryFence.h
> corrected for x86_64.  They use the __sync_... gcc builtins if available,
> falling back on gcc extended asm if not, i.e. for the win32 VM compiled
> using gcc 3.x.  The __sync_ version are available in gcc as of 4.1, and are
> in clang.  On iPhone they use the relevant SDK builtin,
> e.g. OSAtomicCompareAndSwap32 or OSAtomicCompareAndSwap64.
>
> Please review?
>

Sure, I'll have a look :) , but not now :(


>
>
>> 2014-12-10 21:28 GMT+01:00 <commits at squeakvm.org>:
>>
>>>
>>> Revision: 3166
>>> Author:   eliot
>>> Date:     2014-12-10 12:28:32 -0800 (Wed, 10 Dec 2014)
>>> Log Message:
>>> -----------
>>>
>>> Use the gcc/clang built-ins for CAS and atomic increment if available.
>>>
>>> A few more 64-bit changes to the Carbon implementation of the Mac
>>> subsystem,
>>> taking it as far as I can before admitting defeat and switching to the
>>> Cocoa
>>> implementation.
>>>
>>> Add a linux 64-bit build tree.
>>>
>>> Shed the old external platforms/iOS tree and import the latest pharovm
>>> tree
>>> (as of:
>>>         commit 4feca169ed2abe8b3df0c0d0b9cd1f980a84e723
>>>         Merge: 447f247 3c7a588
>>>         Author: Esteban Lorenzano <estebanlm at gmail.com>
>>>         Date:   Fri Dec 5 07:54:51 2014 +0100
>>>
>>>                 Merge pull request #70 from nicolaihess/issue_14340
>>>
>>>                 use the same value for charCode and keyValue for
>>> mousewheelevents)
>>>
>>
> --
> best,
> Eliot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20141211/dbd4d9b3/attachment.htm


More information about the Vm-dev mailing list