Re:FizzBuzz – SIMD Style
by jepcommenter on Thursday March 11, 2021 @08:38AM
(#26423851)
I guess you can also prefill result[i]=i and then apply fizzbuzz mask to avoid addition altogether
[ Parent
| on HN ]
Re:FizzBuzz – SIMD Style
by jepcommenter on Thursday March 11, 2021 @08:44AM
(#26423924)
Oh, wait, the original code receives input array while above loops from zero to n which is something else.