[Bug target/101059] v4sf reduction not optimal

2021-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101059

--- Comment #3 from CVS Commits  ---
The master branch has been updated by hongtao Liu :

https://gcc.gnu.org/g:e7b8d7020052110e5717230104e647f6235dd2c1

commit r12-3892-ge7b8d7020052110e5717230104e647f6235dd2c1
Author: liuhongt 
Date:   Mon Sep 27 14:57:02 2021 +0800

Revert "Optimize v4sf reduction.".

This reverts commit 8f323c712ea76cc4506b03895e9b991e4e4b2baf.

 PR target/102473
 PR target/101059

[Bug target/101059] v4sf reduction not optimal

2021-09-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101059

--- Comment #2 from Hongtao.liu  ---
Fixed in GCC12.

[Bug target/101059] v4sf reduction not optimal

2021-09-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101059

--- Comment #1 from CVS Commits  ---
The master branch has been updated by hongtao Liu :

https://gcc.gnu.org/g:8f323c712ea76cc4506b03895e9b991e4e4b2baf

commit r12-3426-g8f323c712ea76cc4506b03895e9b991e4e4b2baf
Author: liuhongt 
Date:   Tue Sep 7 12:39:04 2021 +0800

Optimize v4sf reduction.

gcc/ChangeLog:

PR target/101059
* config/i386/sse.md (reduc_plus_scal_): Split to ..
(reduc_plus_scal_v4sf): .. this, New define_expand.
(reduc_plus_scal_v2df): .. and this, New define_expand.

gcc/testsuite/ChangeLog:

PR target/101059
* gcc.target/i386/sse2-pr101059.c: New test.
* gcc.target/i386/sse3-pr101059.c: New test.

[Bug target/101059] v4sf reduction not optimal

2021-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101059

Andrew Pinski  changed:

   What|Removed |Added

   Severity|normal  |enhancement