aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Stupachenko <evstupac@gmail.com>2014-07-11 11:27:42 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-07-11 11:27:42 +0000
commit53f5803e4deafeeff6db1020df703e57eee2c108 (patch)
tree6aeb13bed8abb39a7ea53b691771bfa5974a40fe
parentd1c1cbd5c11a8e6490584f4a86526503664640d1 (diff)
downloadgcc-53f5803e4deafeeff6db1020df703e57eee2c108.zip
gcc-53f5803e4deafeeff6db1020df703e57eee2c108.tar.gz
gcc-53f5803e4deafeeff6db1020df703e57eee2c108.tar.bz2
gcc/
* gcc/config/i386/i386.c.orig From-SVN: r212451
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c6
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 <evstupac@gmail.com>
+
+ * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
+
2014-07-11 Marat Zakirov <m.zakirov@samsung.com>
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;