This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We have:
      else if (memory_access_type == VMAT_GATHER_SCATTER && gs_info.decl)
        {
          tree arglist = TYPE_ARG_TYPES (TREE_TYPE (gs_info.decl));
          tree masktype
            = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (TREE_CHAIN (arglist))));
          if (TREE_CODE (masktype) == INTEGER_TYPE)
            {
              if (dump_enabled_p ())
                dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
                                 "masked gather with integer mask not"
                                 " supported.");
              return false;
            }
        }     
and no support for masked scatter stores when not using the aarch64 style ifns.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]