在 2025-02-10 23:56, Jacek Caban 写道:
I didn’t mean to suggest changing any of that, x87 is part of the 32-bit x86 ABI, and we can't change that. What I meant is making long double a 64-bit built-in C type, i.e. sizeof(long double) == 8. The compiler could generate the same code for long double as it currently does for double (aside from differences in built-in function names).

Clang also defines `__x86_64__` for ARM64EC so if `long double` deviates from x86-64 it's mostly confusing to our users.

I still have a very fuzzy idea about where ARM64EC is supposed to be used. Is it for code that is 'more x64' than ARM64 native one? Then what about inline assembly? If a user has a piece of code which compiles as either x64 or ARM64 according to the existence of `__x86_64__`, then what will they expect if it is compiled as ARM64EC?


--
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