[fpc-devel] Register deallocation

2020-10-22 Thread J. Gareth Moreton via fpc-devel
Hi everyone, So I've been investigating a new optimisation, using Florian's GetNextInstructionUsingRegTrackingUse method, that improves upon removing MOV instructions and the like that write to registers whose values are never used (usually because the subroutine exits soon after), and a few

Re: [fpc-devel] initialization order of units

2020-10-22 Thread J. Gareth Moreton via fpc-devel
This is just my personal opinion, but I do think that using "initialization" is risky if it uses anything outside of the unit, and hence you should minimise any inter-dependencies.  If I had to suggest a concrete workaround, it would be a initialisation routine that you call manually or as part

Re: [fpc-devel] initialization order of units

2020-10-22 Thread Florian Klämpfl via fpc-devel
Am 22.10.20 um 23:04 schrieb Pascal Riekenberg via fpc-devel: Jonas Maebe via fpc-devel hat am 22.10.2020 22:28 geschrieben: On 22/10/2020 21:35, Pascal Riekenberg via fpc-devel wrote: Have there been any changes to the initialization order of units in the last 6 month? I have a complex pr

Re: [fpc-devel] initialization order of units

2020-10-22 Thread Pascal Riekenberg via fpc-devel
> Jonas Maebe via fpc-devel hat am 22.10.2020 > 22:28 geschrieben: > > > On 22/10/2020 21:35, Pascal Riekenberg via fpc-devel wrote: > > Have there been any changes to the initialization order of units in the > > last 6 month? > > I have a complex project with multiple units with initializatio

Re: [fpc-devel] initialization order of units

2020-10-22 Thread Jonas Maebe via fpc-devel
On 22/10/2020 21:35, Pascal Riekenberg via fpc-devel wrote: > Have there been any changes to the initialization order of units in the > last 6 month? > I have a complex project with multiple units with initialization > section. And now > one of those units does not get initialized before it is used

[fpc-devel] initialization order of units

2020-10-22 Thread Pascal Riekenberg via fpc-devel
Have there been any changes to the initialization order of units in the last 6 month? I have a complex project with multiple units with initialization section. And now one of those units does not get initialized before it is used by the initialization part of an other unit. This worked at the be

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-22 Thread Curtis Hamilton via fpc-devel
Attached it the crt1.s created using gcc -S that was used in the prt0.as in my earlier email. -regards On 10/21/20 10:51 AM, Curtis Hamilton wrote: Attached is the prt0.as I created using the one used for linux/powerpc64.  I've also attached the dump of crt1.s from the target

Re: [fpc-devel] Github hosting of FPC utilities and [stable] sources

2020-10-22 Thread Marco van de Voort via fpc-devel
Op 22/10/2020 om 10:01 schreef Kevin Lyda via fpc-devel: svn checkout https://svn.freepascal.org/svn/fpc/trunk fpc-svn 8.80s user 7.43s system 49% cpu 32.790 total du -sh * 626M fpc-git 728M fpc-svn To compare sizes you need to specify the SVN version. Older versions iirc didn't compress pri

Re: [fpc-devel] Github hosting of FPC utilities and [stable] sources

2020-10-22 Thread Kevin Lyda via fpc-devel
On Thu, Oct 22, 2020 at 1:07 AM Michael Fuchs via fpc-devel wrote: > Read log entries and changesets without downloading the whole > repository. Git cannot do this. But this is only a secondary problem and > I can do without it. Please don't invest any work in it. time git clone g...@github.com:g