View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026613||FPC||Compiler||public||2014-08-19 13:38||2014-08-19 14:35|
|Reporter||Thaddy de Koning||Assigned To|
|Summary||0026613: In mode delphi, assembler mode should be intel|
|Description||Under mode delphi and delphiunicode I expect assembler mode intel (-Rintel) to be active by default. This is not the case. It would be very helpful if it was.|
Minor detail, but still..
|Additional Information||Both Delphi and FPC have an internal writer for intel mode, but in case of delphi it is the only one. So, mode delphi should default to intel assembler.|
|Tags||No tags attached.|
|Fixed in Revision|
That is already the case for i386. It's not for x86-64, which is probably because
a) there was no Delphi x86-64 when FPC x86-64 started
b) initially we did not have an x86-64 intel-style assembler parser, and even today it is probably not very well tested
It can be changed, but the person doing so should then also intend to fix the bugs that are discovered in the x86-64 intel assembler readers, and adding support for Delphi idiosyncrasies that will be found (it doesn't make sense to make it the default in Delphi mode for compatibility reasons, if subsequently it doesn't get fixed if actual Delphi incompatibilities are found in it).
I am very aware of the latter.
But I didn't run into much problems recently with KOL (32 and 64 bit), mostly only with floating point code. And that goes for FPC and Delphi alike.
This may be something I can pick up. Put it on hold.