Hello,

On Mon, 22 Mar 2021, Dmitry Selyutin wrote:

> Dispatching to per-type functions (instead of per-size ones) is mere busy
work
Having a function per each supported size plus one for emulated locking is
still safer than having a pair, where one deals with opaque data type.

> all that code is generated and implementation specific, not user
visible
It is visible.
https://llvm.org/docs/Atomics.html ("libcalls" section)
https://gcc.gnu.org/wiki/Atomic/GCCMM/LIbrary ("The library interface"
section)

Yes, sure, that's the GCC (with LLVM following) implementation of runtime library. There is value in providing those as well, from TCCs side, I agree.

But there's also value in not implementing facilities twice.

Are your stdatomic patches all on mob meanwhile?


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to