diff mbox series

i386: Fix typo in *movoi_internal_avx/movti_internal

Message ID 20190207044412.25772-1-hjl.tools@gmail.com
State New
Headers show
Series i386: Fix typo in *movoi_internal_avx/movti_internal | expand

Commit Message

H.J. Lu Feb. 7, 2019, 4:44 a.m. UTC
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.
---
 gcc/config/i386/i386.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Uros Bizjak Feb. 7, 2019, 5:27 p.m. UTC | #1
On Thu, Feb 7, 2019 at 5:44 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
>         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.

OK.

Thanks,
Uros.

> ---
>  gcc/config/i386/i386.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> 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.20.1
>
diff mbox series

Patch

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")