i386: Fix typo in *movoi_internal_avx/movti_internal
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 7 Feb 2019 17:58:19 +0000 (17:58 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 7 Feb 2019 17:58:19 +0000 (09:58 -0800)
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

gcc/ChangeLog
gcc/config/i386/i386.md

index ede2a6b..1969ff7 100644 (file)
@@ -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.
index 9948f77..c149236 100644 (file)
                 (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")))
                 (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")