[Bug target/97194] optimize vector element set/extract at variable position

crazylht at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 16 07:17:41 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97194

--- Comment #15 from Hongtao.liu <crazylht at gmail dot com> ---
I'm working on add the expander, i encounter a problem.

for V32HI vec_set with constant index, the expander existed under
TARGET_AVX512F, but for variable index, the expander should be existed under
TARGET_AVX512BW, since vpcmpw zmm only existed in TARGET_AVX512BW, we need to
restricted the expander under TARGET_AVX512BW, unfortunately operands is
unvisible in condition scope, any solution to handle such issue?


More information about the Gcc-bugs mailing list