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: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com CC: areg.melikadam...@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.