logoalt Hacker News

secondcomingtoday at 3:54 PM1 replyview on HN

I;ve had to coerce gcc to emitting SIMD code by using int instead of bool. Also, the early return may be putting it off.


Replies

abbeyjtoday at 7:11 PM

Doing both of those things does seem to help: https://godbolt.org/z/1vv7cK4bE

GCC trunk seems to like using `bool` so we may eventually be able to retire the hack of using `int`.