Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2019-07

x86-64 Optimizer Overhaul Testing

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton

Hi everyone,

So for the x86-64 optimizer overhaul
(https://bugs.freepascal.org/view.php?id=34628), I do my best to ensure that the patches are up-to-date and merge successfully with the current branch.

Last week, the user Akira1364 reported that they were able to trigger internal error 2013102801 (raised in MatchOperand if the operand types match but are neither top_const, top_reg or top_ref) with the patches under x86_64-win64, but I have been unable to reproduce the error, whether from my working branch or by applying the patches to the trunk.  I'm not sure if I'm missing a step, but everything compiles and links fine with the example given.  Is anyone else able to produce the issue as listed under https://bugs.freepascal.org/view.php?id=34628#c117339?

If that's all okay, are there still any glaring issues with coding standards in regards to the units used, Florian?

Gareth aka. Kit

P.S. Despite the reported error, Akira1364 mentions that there is a marked improvement in compilation time.

---
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

J. Gareth Moreton
to J. Gareth Moreton

So as of yet I've still been unable to reproduce the internal error that's being described, and everything else so far has been working successfully.  Wait... that SHOULD be a good thing! Still, bugs I can't reproduce are frustrating.

This might be a lot to ask, but testing still needs to be done on i386-linux and x86_64-darwin, the former because I haven't been able to get around the configuration issues on my Linux virtual machine (I wish I was more adept with the OS) and the latter because I don't have a Mac system to test it on.  So far though, at least from what I have been able to extensively test, there are no glaring issues and there's noticeable improvement in speed performance, while size improvements are slight, but definitely there (and are really more of a side-effect than anything else).

Gareth aka. Kit

---
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email