[D-runtime] core.atomic

Walter Bright walter at digitalmars.com
Mon Jul 9 03:31:08 PDT 2012


You need a RET instruction on naked functions.

On 7/9/2012 2:53 AM, Alex Rønne Petersen wrote:
> On Mon, Jul 9, 2012 at 11:34 AM, Walter Bright <walter at digitalmars.com> wrote:
>> The latest crashes on unittests on my windows box. The 2.059 one works.
> What exactly is failing? I'm almost certain it's the new atomicFence()
> function[1] blowing up, but need more info.
>
> The 32-bit version of it is rather complicated because it has to query
> the CPU for SSE2 support. I wrote it for cdecl on POSIX and it seems
> to work there, but something must be awry with the D calling
> convention on Windows... Do you spot anything obviously wrong?
>
> Regards,
> Alex
>
> [1] https://github.com/D-Programming-Language/druntime/blob/master/src/core/atomic.d#L585
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime
>
>




More information about the D-runtime mailing list