Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
phkahler
on Sept 25, 2014
|
parent
|
context
|
favorite
| on:
Faster Unsigned Division by Constants (2011)
From 2011, has this made it into gcc? Is it part of LLVM now since they tested with that?
simonster
on Sept 25, 2014
[–]
It looks like LLVM trunk still uses a subtraction and a shift for "uncooperative" divisors:
https://github.com/llvm-mirror/llvm/blob/1bdc6c4519d9ad254b2...
jevinskie
on Sept 25, 2014
|
parent
[–]
I found two other implementations of software division in LLVM:
https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: