|
From: | Dmitry Selyutin |
Subject: | Re: [Tinycc-devel] [PATCH 2/2] stdatomic: x86_64 implementation |
Date: | Fri, 12 Mar 2021 01:58:38 +0300 |
> +__atomic_store_4:
> + movl %esi,(%rdi)
This only works for the sysv abi (unices), not on windows, because
parameters come in different registers there. See
https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention for
windows' calling convention; probably not hard to work around with
macros (though cmpxchg might require some extra fanangling).
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |