From 53f5803e4deafeeff6db1020df703e57eee2c108 Mon Sep 17 00:00:00 2001 From: Evgeny Stupachenko Date: Fri, 11 Jul 2014 11:27:42 +0000 Subject: [PATCH] gcc/ * gcc/config/i386/i386.c.orig From-SVN: r212451 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87c732f..b8ab122 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 1b5cbeb..5c57cf8 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; -- 2.7.4