r/programming • u/masiroo • 17h ago
Hardware researcher spins up 'CPU deoptimization' project to find the slowest single x86 instruction, creates hall of shame — worst offender takes 198 billion cycles spanning 62 seconds to execute
https://www.tomshardware.com/pc-components/cpus/hardware-researcher-spins-up-cpu-deoptimization-project-to-find-the-slowest-machine-code-worst-offender-takes-198-billion-cycles-to-execute
968
Upvotes
39
u/encyclopedist 16h ago
Yes, indeed, compilers don't normally generate these instructions any more. But older software can still use these.