+__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 [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
