Thoughts on making Cycles into a spectral renderer

I temporarily fixed it by removing the CAT and using

#define make_spectral_color(f) make_float8(f)
//same fix for the rest

Btw it’s definitely not a good idea to call a function CAT since full text search in the repository returns everything else related to cats but not its definition.

So the next error I’m getting is this one:

/home/ubuntu/blender/intern/cycles/kernel/../util/util_math_float8.h:433:17: error: ‘_mm256_pow_ps’ was not declared in this scope; did you mean ‘_mm256_xor_ps’?
  433 |   return float8(_mm256_pow_ps(v.m256, _mm256_set1_ps(e)));