[fpc-devel] Interesting short article about optimisation

Adriaan van Os adriaan at adriaan.biz
Mon Nov 27 16:41:10 CET 2023


J. Gareth Moreton via fpc-devel wrote:
> I just stumbled across this article about micro-architecture-specific 
> optimisations in ARM: 
> https://www.phoronix.com/news/ARM64-Linux-No-Uarch-Opts
> 
> They briefly mention x86_64, and I agree it's good to avoid 
> micro-architecture-specific optimisations and now it makes me wonder 
> where the line is drawn, like the recent introduction of the optimizer 
> hint regarding LEA instructions being slow on some middle-aged CPUs.

I agree that kind of optimization shouldn't be in a kernel. Whether it should be in a compiler is 
another question.

Regards,

Adriaan van Os



More information about the fpc-devel mailing list