Better HN
topnewbestaskshowjobs
Log inSign up

throw235346

2 karma · joined Aug 16, 2026 (3mo ago) · 1 submissions

Submissions

comment 3mo ago · link · parent

32-bit integer division is slower than 64-bit float division, so it’s not that. CPU manufacturers just optimise one way more than the other.

https://uops.info/html-instr/IDIV_R32.html

https://uops.info/html-instr/DIVSD_XMM_XMM.html