Are vectorized instructions supported?
mwilki7 (277)

I wanted to toy around with the vectorized instruction set (128/256/512 bit registers) but I can't seem to get this to compile. It generates this error message:

main.cpp:7:16: error: always_inline function '_mm256_set_epi32' requires target feature
      'avx', but would be inlined into function 'main' that is compiled without support for
    __m256i a =_mm256_set_epi32(5, 5, 5, 5, 5, 5, 5, 5);

Am I missing any includes or is a certain compiler option necessary?

You are viewing a single comment. View All
Answered by SPQR (405) [earned 5 cycles]
View Answer