On Fri, Jul 08, 2022 at 11:55:13AM +0200, Manuel Bouyer wrote:
> I think it's more than this; it's to use the right instruction on the
> right CPU. But I don't remember the details

This tests a CPU features at boot time, and replaces a generic implementation
by a CPU-optimized one. 

Indeed it brings maximum performance because there is no CPU feature test
at runtime, but it comes with a price. Profilig and debugging are broken,
for instance.

-- 
Emmanuel Dreyfus
m...@netbsd.org

Reply via email to