[fpc-devel] AArch64 Register efficiency

2020-08-20 Thread J. Gareth Moreton via fpc-devel
Hi everyone. During my evaluation of the assembly language produced by the AArch64 implementation of the Free Pascal Compiler, I've noticed that it uses the stack an awful lot and, generally, not many of the 28 or so general- purpose registers available for it. The main problem is that even tho

Re: [fpc-devel] AArch64 Register efficiency

2020-08-20 Thread Florian Klämpfl via fpc-devel
Am 20.08.20 um 14:18 schrieb J. Gareth Moreton via fpc-devel: Hi everyone. During my evaluation of the assembly language produced by the AArch64 implementation of the Free Pascal Compiler, I've noticed that it uses the stack an awful lot and, generally, not many of the 28 or so general- purpos

Re: [fpc-devel] AArch64 Register efficiency

2020-08-20 Thread J. Gareth Moreton via fpc-devel
Oh dear, that's a shame. Havoc sounds fun though! Part of me wants to try anyway because I'm masochistic like that, but I'll do that privately. As an example, here's something from the classes unit - see how many references there are to [sp, #16]. It might not be exactly the same as what you

Re: [fpc-devel] AArch64 Register efficiency

2020-08-20 Thread J. Gareth Moreton via fpc-devel
forgot to add... that was under -O3. Gareth aka. Kit ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] AArch64 Register efficiency

2020-08-20 Thread Florian Klämpfl via fpc-devel
Am 20.08.20 um 15:09 schrieb J. Gareth Moreton: Oh dear, that's a shame. Havoc sounds fun though! Part of me wants to try anyway because I'm masochistic like that, but I'll do that privately. As an example, here's something from the classes unit - see how many references there are to [sp, #16

Re: [fpc-devel] Unfortunately still an issue .... [[Re: fpc trunk / parentfp for debugger / missing]]

2020-08-20 Thread Yuriy Sydorov via fpc-devel
On 19.08.2020 21:23, Martin Frb via fpc-devel wrote: On 22/06/2020 18:36, Jonas Maebe wrote: On 21/06/2020 22:07, Yuriy Sydorov wrote: It may also be also broken with FPC's code generator, but simply not get detected at compile time. Fixed. Thanks! Just tested with 3.3.1 from 17.08.2020.

[fpc-devel] strange (?) "result not initialized"

2020-08-20 Thread Martin via fpc-devel
In the code below / with fpc 3.2 function TDwarfInformationEntry.ReadName(out AName: PChar): Boolean; var   AttrData: TDwarfAttribData; begin   PrepareAbbrev;   if dafHasName in FAbbrev^.flags then begin     Result := GetAttribData(DW_AT_name, AttrData);     assert(Result and (AttrData.Informatio

Re: [fpc-devel] AArch64 Register efficiency

2020-08-20 Thread J. Gareth Moreton via fpc-devel
On Thu 20/08/20 15:36 , Florian Klämpfl via fpc-develfpc-de...@lists.freepascal.org sent: > Am 20.08.20 um 15:09 schrieb J. Gareth Moreton: > > > Oh dear, that's a shame. Havoc sounds fun > though! Part of me wants to try anyway because I'm masochistic like that, > but I'll do that privately. >

Re: [fpc-devel] Unfortunately still an issue (Solved) .... [[Re: fpc trunk / parentfp for debugger / missing]]

2020-08-20 Thread Martin Frb via fpc-devel
On 20/08/2020 19:00, Yuriy Sydorov via fpc-devel wrote: Fixed in r46514. Thanks, looks ok now. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel