[Bug target/56855] New: optab_handler (op=vashr_optab, mode=V4DImode) finds nothing

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 6 10:02:00 GMT 2013


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: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org
            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.



More information about the Gcc-bugs mailing list