|
From: | Elijah Stone |
Subject: | Re: [Tinycc-devel] [PATCH 2/2] stdatomic: x86_64 implementation |
Date: | Thu, 11 Mar 2021 14:57:25 -0800 (PST) |
+__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).
[Prev in Thread] | Current Thread | [Next in Thread] |