Yes, sorry, I should have mentioned that it currently supports System V ABI
only. Thanks for pointing this.

пт, 12 мар. 2021 г., 01:57 Elijah Stone <[email protected]>:

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

Reply via email to