Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jmgao
on Jan 16, 2016
|
parent
|
context
|
favorite
| on:
Optimization story: Switching from GMP to gcc's __...
It's actually even better than that. They're only using __int128 to hold the result of a 64 by 64 bit multiplication, and x86_64's mul instruction will give you this for free. gcc is smart enough to generate code that is literally just a single mul.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: