[Bug target/50369] New: Support 256bit vector permutation

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 12 20:57:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50369

             Bug #: 50369
           Summary: Support 256bit vector permutation
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: areg.melikadamyan@gmail.com


i386.c has:

/* AVX does not support 32-byte integer vector operations,
   thus the longest vector we are faced with is V16QImode.  */
#define MAX_VECT_LEN    16

struct expand_vec_perm_d
{
  rtx target, op0, op1;
  unsigned char perm[MAX_VECT_LEN];
  enum machine_mode vmode;
  unsigned char nelt; 
  bool testing_p;
};

MAX_VECT_LEN should be extended to 32 for AVX2.



More information about the Gcc-bugs mailing list