Re: [fpc-devel] Policy on platform-specific compiler code

2020-10-17 Thread J. Gareth Moreton via fpc-devel
Well, I think you might be right on this one, Jonas! I've tested my algorithm against the one used in the compiler. It's 5 times faster when used with small divisors (so loop iterations are minimal)... but that amounts to about 15 nanoseconds compared to 75 nanoseconds!  Additionally, it treat

Re: [fpc-devel] Policy on platform-specific compiler code

2020-10-17 Thread J. Gareth Moreton via fpc-devel
Apologies, Jonas; I hope I didn't come off as condescending or rude in that last e-mail - I was joking because while my algorithm is faster, a few nanoseconds probably isn't going to cut it in the grand scheme of things! I got my code to work, treating "magic add" in the same way as the exist

[fpc-devel] Trunk does not build on AArch64

2020-10-17 Thread J. Gareth Moreton via fpc-devel
Hi everyone, I've started to look at developing FPC on the Raspberry Pi again, but I've run into a snag. The unmodified trunk does not build - it fails when building system.pp at the ppc1 stage: math.inc(57,7) Error: Assembler syntax error math.inc(58,11) Error: Unrecognized opcode round fl