summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-15 15:13:42 +0000
committerkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-15 15:13:42 +0000
commit4db560dc478a442d9be03cf3e0ac9d9fc1b2beb7 (patch)
tree2291a2eee2af714d2c259c1efcf29a6804c22e3c
parentf94292711cdf06e9f9e52f4f691e4bb6faf5b91d (diff)
downloadlinaro-gcc-4db560dc478a442d9be03cf3e0ac9d9fc1b2beb7.tar.gz
linaro-gcc-4db560dc478a442d9be03cf3e0ac9d9fc1b2beb7.tar.bz2
linaro-gcc-4db560dc478a442d9be03cf3e0ac9d9fc1b2beb7.zip
AVX-512, Fix mode size check.
PR target/70662 gcc/ * config/i386/sse.md(define_insn "<avx512>_vec_dup<mode><mask_name>"): Fix mode size check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@235037 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/i386/sse.md2
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a591d219c25..fe652dca72e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,8 +1,14 @@
2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
PR target/70662
- * config/i386/sse.md: Use proper memory operand
- modifiers.
+ * config/i386/sse.md(define_insn "<avx512>_vec_dup<mode><mask_name>"):
+ Fix mode size check.
+
+2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
+
+ PR target/70662
+ * config/i386/sse.md(define_insn "<avx512>_vec_dup<mode><mask_name>"):
+ Use proper memory operand modifiers.
2016-04-14 Nick Clifton <nickc@redhat.com>
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 9f974394ae2..df50e7d5091 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -16664,7 +16664,7 @@
if (<MODE>mode == V2DFmode)
return "vpbroadcastq\t{%1, %0<mask_operand2>|%0<mask_operand2>, %q1}";
- if (GET_MODE_SIZE (GET_MODE_INNER (<MODE>mode)) == 32)
+ if (GET_MODE_SIZE (GET_MODE_INNER (<MODE>mode)) == 4)
return "v<sseintprefix>broadcast<bcstscalarsuff>\t{%1, %0<mask_operand2>|%0<mask_operand2>, %k1}";
else
return "v<sseintprefix>broadcast<bcstscalarsuff>\t{%1, %0<mask_operand2>|%0<mask_operand2>, %q1}";