Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dashtiarian
5 months ago
|
parent
|
context
|
favorite
| on:
The Pentium contains a complicated circuit to mult...
Shift add used to execute much faster than multiplication in 8088 days and people would use it when they had to multiply an int by a known scalar (shift took 4 clocks and add took 12).
funny_falcon
5 months ago
[–]
Compilers still prefer LEA to multiply on 3,5 and 9, which performs shift+add I believe.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: