View Issue Details

IDProjectCategoryView StatusLast Update
0026613FPCCompilerpublic2014-08-19 14:35
ReporterThaddy de Koning Assigned To 
Status newResolutionopen 
Product Version2.7.1 
Summary0026613: In mode delphi, assembler mode should be intel
DescriptionUnder 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 InformationBoth 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.
TagsNo tags attached.
Fixed in Revision
Attached Files


Jonas Maebe

2014-08-19 13:54

manager   ~0076653

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

Thaddy de Koning

2014-08-19 14:35

reporter   ~0076654

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.

Issue History

Date Modified Username Field Change
2014-08-19 13:38 Thaddy de Koning New Issue
2014-08-19 13:54 Jonas Maebe Note Added: 0076653
2014-08-19 14:35 Thaddy de Koning Note Added: 0076654