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

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to