在 2023-08-02 16:10, Martin Storsjö 写道:
So I think we perhaps shouldn't extend the use of __MACHINEX86X, if there's meant to be a difference between that and __MACHINEI. On the other hand, newer MSVC styles don't distinguish between those two, so perhaps it doesn't matter.
I believe there must be a reason why `__MACHINEX86X_NOIA64` exists. At this moment I can only say that it might be related to the fact that x86 and x86_64 EXE files can be executed on Itanium with no modification, due to hardware emulation/translation/transpilation/whatever.
Itanium is dead anyway, but since Windows 11 on ARM something similar has happened. It may be a good chance for us to update those macros to match what MSVC has; not just renaming `__MACHINEI` to `__MACHINEX86_X64`, but also removing Itanium macros.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
