From 2b99b6c0cc2fd1da7c9d1d66c39212d7f3e4bc65 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 7 Feb 2019 17:58:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ede2a6bcc44..1969ff755e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-02-07 H.J. Lu + + 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 * config/s390/s390-builtin-types.def: Add new types. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 9948f77fca5..c1492363bca 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") -- 2.30.2