Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on May 13, 2014
|
parent
|
context
|
favorite
| on:
Computers are fast
pbsd investigated above[1] and found that the problem was the use of signed chars.
[1]:
https://news.ycombinator.com/item?id=7737582
sanxiyn
on May 13, 2014
[–]
Argh, this is annoying indeed. And yes, compiler is correct not to autovectorize in this case then.
TheLoneWolfling
on May 13, 2014
|
parent
[–]
Why?
X-Istence
on May 13, 2014
|
root
|
parent
[–]
Different integer wrapping semantics I assume.
ygra
on May 13, 2014
|
root
|
parent
[–]
I wonder, though, because signed overflow is already undefined in C. The compiler could do anything there and call it correct.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://news.ycombinator.com/item?id=7737582