[Bug tree-optimization/108724] Poor codegen when summing two arrays without AVX or SSE
crazylht at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 9 09:37:20 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108724
Hongtao.liu <crazylht at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |crazylht at gmail dot com
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
Guess it's related to
8537bool
8538vect_can_vectorize_without_simd_p (tree_code code)
8539{
8540 switch (code)
8541 {
8542 case PLUS_EXPR:
8543 case MINUS_EXPR:
8544 case NEGATE_EXPR:
8545 case BIT_AND_EXPR:
8546 case BIT_IOR_EXPR:
8547 case BIT_XOR_EXPR:
8548 case BIT_NOT_EXPR:
8549 return true;
8550
8551 default:
8552 return false;
8553 }
vectorizer will still do vectorization even without simd instructions.
More information about the Gcc-bugs
mailing list