在 2025-02-06 20:42, Martin Storsjö 写道:
Right - but here I would very much like to _not_ implement this in assembly; we have a handful of other similar functions, e.g. exp2(x) -> pow(2, x) and similar, where it would be nice if we could just avoid unnecessary assembly.

So would you feel ok with doing sincos() here with __MINGW_ASM_CALL(), as practical Clang doesn't seem to break it at the moment, even though it in theory could do that?

I think it's fine to implement this function in assembly. I was bitten by Clang's `__asm__` before so I don't really recommend it unless we know for sure that optimization is safe.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to