Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sdinsn
on Aug 20, 2019
|
parent
|
context
|
favorite
| on:
Why Const Doesn't Make C Code Faster
> SIMD instructions don't usually get used by normal compilers without very specific loops
Compilers are smart. Even Java's JIT will generate SIMD instructions pretty well
BubRoss
on Aug 21, 2019
[–]
I would have to see this to believe it. Even Intel's own compiler is extremely sensitive to small changes turning off SIMD use in a loop. You can try out compilers and see their asm at godbolt.org
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Compilers are smart. Even Java's JIT will generate SIMD instructions pretty well