From: Evgeny Stupachenko Date: Fri, 11 Jul 2014 11:27:42 +0000 (+0000) Subject: gcc/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53f5803e4deafeeff6db1020df703e57eee2c108;p=gcc.git gcc/ * gcc/config/i386/i386.c.orig From-SVN: r212451 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87c732ff7ab..b8ab1223d73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-07-11 Evgeny Stupachenko + + * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX. + 2014-07-11 Marat Zakirov PR target/61561 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 1b5cbeb4587..5c57cf8dd70 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -43214,12 +43214,10 @@ expand_vec_perm_pblendv (struct expand_vec_perm_d *d) bool ok; /* Use the same checks as in expand_vec_perm_blend, but skipping - AVX2 as it requires more than 2 instructions for general case. */ + AVX and AVX2 as they require more than 2 instructions. */ if (d->one_operand_p) return false; - if (TARGET_AVX && (vmode == V4DFmode || vmode == V8SFmode)) - ; - else if (TARGET_SSE4_1 && GET_MODE_SIZE (vmode) == 16) + if (TARGET_SSE4_1 && GET_MODE_SIZE (vmode) == 16) ; else return false;