From 64a3a966982164d28a5778d186c87f025236405b Mon Sep 17 00:00:00 2001 From: Hongtao Liu Date: Sun, 27 Oct 2019 04:39:31 +0000 Subject: [PATCH] Remove redudant when operand already has scalar mode. gcc/ * config/i386/sse.md (*_vm3, _vm3): Remove since operand is already scalar mode. (iptr): Remove SF/DF. From-SVN: r277481 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/sse.md | 11 +++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de55e1a8323..b61b07aac1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-10-27 Hongtao Liu + + * config/i386/sse.md (*_vm3, + _vm3): Remove since + operand already has scalar mode. + (iptr): Remove SF/DF. + 2019-10-26 Segher Boessenkool PR target/91289 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 077c1d6da1d..c8941a695e0 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -850,8 +850,7 @@ (V16QI "b") (V8HI "w") (V4SI "k") (V2DI "q") (V16SF "k") (V8DF "q") (V8SF "k") (V4DF "q") - (V4SF "k") (V2DF "q") - (SF "k") (DF "q")]) + (V4SF "k") (V2DF "q")]) ;; Mapping of vector modes to VPTERNLOG suffix (define_mode_attr ternlogsuffix @@ -1851,8 +1850,8 @@ (const_int 1)))] "TARGET_SSE" "@ - \t{%2, %0|%0, %2} - v\t{%2, %1, %0|%0, %1, %2}" + \t{%2, %0|%0, %2} + v\t{%2, %1, %0|%0, %1, %2}" [(set_attr "isa" "noavx,avx") (set_attr "type" "sseadd") (set_attr "prefix" "orig,vex") @@ -1927,8 +1926,8 @@ (const_int 1)))] "TARGET_SSE" "@ - \t{%2, %0|%0, %2} - v\t{%2, %1, %0|%0, %1, %2}" + \t{%2, %0|%0, %2} + v\t{%2, %1, %0|%0, %1, %2}" [(set_attr "isa" "noavx,avx") (set_attr "type" "sse") (set_attr "prefix" "orig,vex") -- 2.30.2