diff options
author | Hongtao Liu <hongtao.liu@intel.com> | 2019-10-27 04:39:31 +0000 |
---|---|---|
committer | Hongtao Liu <liuhongt@gcc.gnu.org> | 2019-10-27 04:39:31 +0000 |
commit | 64a3a966982164d28a5778d186c87f025236405b (patch) | |
tree | 738235e4267f7d81386a65013345753543860d6a | |
parent | 43a771935c19cb7a448a67cbc5bfeb72b1a4d036 (diff) | |
download | gcc-64a3a966982164d28a5778d186c87f025236405b.zip gcc-64a3a966982164d28a5778d186c87f025236405b.tar.gz gcc-64a3a966982164d28a5778d186c87f025236405b.tar.bz2 |
Remove redudant <iptr> when operand already has scalar mode.
gcc/
* config/i386/sse.md (*<sse>_vm<plusminus_insn><mode>3,
<sse>_vm<multdiv_mnemonic><mode>3): Remove <iptr> since
operand is already scalar mode.
(iptr): Remove SF/DF.
From-SVN: r277481
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/sse.md | 11 |
2 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de55e1a..b61b07a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-10-27 Hongtao Liu <hongtao.liu@intel.com> + + * config/i386/sse.md (*<sse>_vm<plusminus_insn><mode>3, + <sse>_vm<multdiv_mnemonic><mode>3): Remove <iptr> since + operand already has scalar mode. + (iptr): Remove SF/DF. + 2019-10-26 Segher Boessenkool <segher@kernel.crashing.org> PR target/91289 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 077c1d6..c8941a6 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" "@ - <plusminus_mnemonic><ssescalarmodesuffix>\t{%2, %0|%0, %<iptr>2} - v<plusminus_mnemonic><ssescalarmodesuffix>\t{%2, %1, %0|%0, %1, %<iptr>2}" + <plusminus_mnemonic><ssescalarmodesuffix>\t{%2, %0|%0, %2} + v<plusminus_mnemonic><ssescalarmodesuffix>\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" "@ - <multdiv_mnemonic><ssescalarmodesuffix>\t{%2, %0|%0, %<iptr>2} - v<multdiv_mnemonic><ssescalarmodesuffix>\t{%2, %1, %0|%0, %1, %<iptr>2}" + <multdiv_mnemonic><ssescalarmodesuffix>\t{%2, %0|%0, %2} + v<multdiv_mnemonic><ssescalarmodesuffix>\t{%2, %1, %0|%0, %1, %2}" [(set_attr "isa" "noavx,avx") (set_attr "type" "sse<multdiv_mnemonic>") (set_attr "prefix" "orig,vex") |