> Is the above atomic_load supposed to be similar to the GCC __atomic_load
> intrinsic?
No, it's supposed to be similar to __atomic_load_N.

> hence structs aren't passed around
It depends on the calling convention.
For the __atomic_##_N, it seems like we can pass things this way, as
long as pointers are naturally-aligned.
As I mentioned in one of the earlier patches, there's no proper align
check yet, for now we have size check.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to