Hacker News new | ask | show | jobs
by acqq 4818 days ago
Compilers for x86 prefer adds to shifts because there are processors (x86 exists for so long) on which shift costs more cycles. LEAs are always fast as they are needed for always used addressings.