One can vectorize LUTs as well
https://www.intel.com/content/www/us/en/docs/intrinsics-guid...
I wrote about the kinds of things that are possible with LUTs awhile back https://darkcephas.blogspot.com/2018/10/validating-utf8-stri...
I wrote about the kinds of things that are possible with LUTs awhile back https://darkcephas.blogspot.com/2018/10/validating-utf8-stri...
I just went with straight math for single-precision, though.