https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88013
--- Comment #3 from krux <hoganmeier at gmail dot com> --- A few NEON instructions are sufficient: https://web.archive.org/web/20170227190422/http://hilbert-space.de/?p=22 clang seems to generate similar code, see the godbolt links.