http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56855
Bug #: 56855
Summary: optab_handler (op=vashr_optab, mode=V4DImode) finds
nothing
Classification: Unclassified
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
Target: x86_64-linux-gnu
Hello,
we seem to be missing a vashrv4di3 expander. I noticed it because this code:
typedef long long vec __attribute__((vector_size(32)));
vec f(vec a, vec b){
vec m={1,2,3,4};
return a>>m;
}
is lowered to scalar ops by the tree vector lowering pass even with -mavx2.