aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2019-02-07 17:58:19 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2019-02-07 09:58:19 -0800
commit2b99b6c0cc2fd1da7c9d1d66c39212d7f3e4bc65 (patch)
tree704a6889a2bb0982e8b4f5a1749df521b4786b8e
parent2a88974cd18bbe0355ffc5ec59cf790c294a2246 (diff)
downloadgcc-2b99b6c0cc2fd1da7c9d1d66c39212d7f3e4bc65.zip
gcc-2b99b6c0cc2fd1da7c9d1d66c39212d7f3e4bc65.tar.gz
gcc-2b99b6c0cc2fd1da7c9d1d66c39212d7f3e4bc65.tar.bz2
i386: Fix typo in *movoi_internal_avx/movti_internal
PR target/89229 * config/i386/i386.md (*movoi_internal_avx): Set mode to OI for TARGET_AVX512VL. (*movti_internal): Set mode to TI for TARGET_AVX512VL. From-SVN: r268657
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ede2a6b..1969ff7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2019-02-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/89229
+ * config/i386/i386.md (*movoi_internal_avx): Set mode to OI
+ for TARGET_AVX512VL.
+ (*movti_internal): Set mode to TI for TARGET_AVX512VL.
+
2019-02-07 Andreas Krebbel <krebbel@linux.ibm.com>
* config/s390/s390-builtin-types.def: Add new types.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 9948f77..c149236 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1938,7 +1938,7 @@
(const_string "XI")
(and (eq_attr "alternative" "1")
(match_test "TARGET_AVX512VL"))
- (const_string "XI")
+ (const_string "OI")
(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
(and (eq_attr "alternative" "3")
(match_test "TARGET_SSE_TYPELESS_STORES")))
@@ -2017,7 +2017,7 @@
(const_string "XI")
(and (eq_attr "alternative" "3")
(match_test "TARGET_AVX512VL"))
- (const_string "XI")
+ (const_string "TI")
(ior (not (match_test "TARGET_SSE2"))
(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
(and (eq_attr "alternative" "5")