Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
Saying that though, despite the near-identical time, what's the size of the binary like?  It should be the same or slightly smaller, but (hopefully) never larger. Gareth aka. Kit On Sun 09/12/18 03:32 , "Ryan Joseph" r...@thealchemistguild.com sent: > On Dec 9, 2018, at 9:15 AM, J. Gareth

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
Hmmm, it might imply that the overhaul isn't worth it except for the largest projects.  I guess we'll have to let Florian make that call. I'm not sure how to time the optimisation stage separately, unless you're able to pass in the PPU files directly.  Other factors like reading from the disk

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
> On Dec 9, 2018, at 9:15 AM, J. Gareth Moreton > wrote: > > Hmmm, that's a shame if the time difference is so small. Up to you if it's > worth it or not. I hoped it would be slightly better than that, although if > it's consistently faster, especially with large projects, then it's a

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
got it compiling but I need a better way to specify the changed rtl/package units. I just did a “make clean all” but I need to specify the new location of the rtf/packages units which are no longer in the default locations. Is there a better way than adding tons of -Fu’s in the command line?

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
Hmmm, that's a shame if the time difference is so small.  Up to you if it's worth it or not.  I hoped it would be slightly better than that, although if it's consistently faster, especially with large projects, then it's a winner in my eyes.  Fingers crossed! Gareth aka. Kit On Sun 09/12/18

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
> On Dec 9, 2018, at 9:02 AM, J. Gareth Moreton > wrote: > > (This should probably be on the mailing list because it's helpful to everyone) > > Hmmm, I'm not sure about that one - those shouldn't be affected. Just the > standard "make clean all" should work. > > However, the document here

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
Got everything building finally but the time difference is so small I'll need to make a script to compile multiple times and average all the runs. Is it even worth the time doing that? Regards, Ryan Joseph ___ fpc-devel maillist -

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
(This should probably be on the mailing list because it's helpful to everyone) Hmmm, I'm not sure about that one - those shouldn't be affected.  Just the standard "make clean all" should work. However, the document here contains everything about building FPC:

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
I'm not sure. I've always had problems with patch.exe. I personally use "svn patch", which works for me both under Windows and Linux. I hope this works better. Gareth aka. Kit On Sun 09/12/18 01:56 , "Ryan Joseph" r...@thealchemistguild.com sent: > I was stupid and didn’t use the right

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
Couldn’t figure out the patching. I tried a dry run but it doesn’t seem to find the file. Downloaded from svn cd trunk patch < /Users/ryanjoseph/Downloads/overhaul-64-32-split.patch --dry-run (Stripping trailing CRs from patch.) can't find file to patch at input line 5 Perhaps you should have

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread Ryan Joseph
I was stupid and didn’t use the right options. They work now except this one: sudo patch -p0 < /Users/ryanjoseph/Downloads/overhaul-base.patch (Stripping trailing CRs from patch.) patching file compiler/aopt.pas patch: malformed patch at line 15: Index: compiler/aoptbase.pas did it fail?

Re: [fpc-devel] x86_64 Optimizer Overhaul

2018-12-08 Thread J. Gareth Moreton
Had any luck with this? Gareth aka. Kit On Fri 07/12/18 01:26 , Ryan Joseph r...@thealchemistguild.com sent: > > > > > > On Dec 7, 2018, at 5:11 AM, J. Gareth Moreton > e...@moreton-family.com> wrote: > > > > > Does anyone have other test projects to compile > that would give more