Thanks. In my case I'm actually trying to write the routines that will reorganize data into a more friendly layout... Here's another one that looks more like an error; in this case I'm trying to compile blend4d for plain AVX: In file included from vectorclass/vectorclass.h:51:
vectorclass/vectorf256.h:2485:17: error: no case matching constant switch condition '17' [-Werror]
switch (s2) {
^~
vectorclass/vectorf256.h:2556:16: note: in instantiation of function template specialization 'permute4d<1, 3, 5, 7>' requested here
return permute4d<i0, i1, i2, i3> (a);
^
foo.cpp:421:32: note: in instantiation of function template specialization 'blend4d<1, 3, 5, 7>' requested here
const Vec4d out1 = blend4d<1, 3, 5, 7>(in1, in2); |