[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Bill Schmidt  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Bill Schmidt  ---
Now fixed everywhere.

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #8 from Bill Schmidt  ---
Author: wschmidt
Date: Tue Sep 12 21:07:30 2017
New Revision: 252044

URL: https://gcc.gnu.org/viewcvs?rev=252044&root=gcc&view=rev
Log:
[gcc]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* config/rs6000/altivec.md (altivec_vsum2sws): Convert from a
define_insn to a define_expand.
(altivec_vsum2sws_direct): New define_insn.
(altivec_vsumsws): Convert from a define_insn to a define_expand.

[gcc/testsuite]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* gcc.target/powerpc/pr81833-1.c: New file.
* gcc.target/powerpc/pr81833-2.c: New file.


Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/pr81833-1.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/pr81833-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/rs6000/altivec.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #7 from Bill Schmidt  ---
Author: wschmidt
Date: Tue Sep 12 21:03:42 2017
New Revision: 252043

URL: https://gcc.gnu.org/viewcvs?rev=252043&root=gcc&view=rev
Log:
[gcc]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* config/rs6000/altivec.md (altivec_vsum2sws): Convert from a
define_insn to a define_expand.
(altivec_vsum2sws_direct): New define_insn.
(altivec_vsumsws): Convert from a define_insn to a define_expand.

[gcc/testsuite]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* gcc.target/powerpc/pr81833-1.c: New file.
* gcc.target/powerpc/pr81833-2.c: New file.


Added:
branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/pr81833-1.c
branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/pr81833-2.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/rs6000/altivec.md
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #6 from Bill Schmidt  ---
Author: wschmidt
Date: Tue Sep 12 21:02:13 2017
New Revision: 252042

URL: https://gcc.gnu.org/viewcvs?rev=252042&root=gcc&view=rev
Log:
[gcc]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* config/rs6000/altivec.md (altivec_vsum2sws): Convert from a
define_insn to a define_expand.
(altivec_vsum2sws_direct): New define_insn.
(altivec_vsumsws): Convert from a define_insn to a define_expand.

[gcc/testsuite]

2017-09-12  Bill Schmidt  

Backport from mainline
2017-09-05  Bill Schmidt  

PR target/81833
* gcc.target/powerpc/pr81833-1.c: New file.
* gcc.target/powerpc/pr81833-2.c: New file.


Added:
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr81833-1.c
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr81833-2.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/rs6000/altivec.md
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #5 from Bill Schmidt  ---
Yes, I have backports prepared for 5, 6, and 7.  Waiting a short time before
applying those.

Thanks!
Bill

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek  ---
So fixed on the trunk so far?  Any plans for 7.x backport?

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #3 from Bill Schmidt  ---
Author: wschmidt
Date: Tue Sep  5 19:41:55 2017
New Revision: 251723

URL: https://gcc.gnu.org/viewcvs?rev=251723&root=gcc&view=rev
Log:
[gcc]

2017-09-05  Bill Schmidt  

PR target/81833
* config/rs6000/altivec.md (altivec_vsum2sws): Convert from a
define_insn to a define_expand.
(altivec_vsum2sws_direct): New define_insn.
(altivec_vsumsws): Convert from a define_insn to a define_expand.

[gcc/testsuite]

2017-09-05  Bill Schmidt  

PR target/81833
* gcc.target/powerpc/pr81833-1.c: New file.
* gcc.target/powerpc/pr81833-2.c: New file.


Added:
trunk/gcc/testsuite/gcc.target/powerpc/pr81833-1.c
trunk/gcc/testsuite/gcc.target/powerpc/pr81833-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/altivec.md
trunk/gcc/testsuite/ChangeLog

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-08-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

--- Comment #2 from Bill Schmidt  ---
The "altivec_vsumsws" pattern for little endian isn't working as intended. 
This needs to be rewritten.  So does the "altivec_vsum2sws" pattern.  I'll work
on a patch early next week.

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-08-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Bill Schmidt  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-08-25
 Ever confirmed|0   |1
  Known to fail||8.0

--- Comment #1 from Bill Schmidt  ---
Confirmed, also fails on trunk.

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

--- Comment #1 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||wrong-code
   Target Milestone|--- |7.2
Summary|[7 Regression] PowerPC: |[7/8 Regression] PowerPC:
   |VSX: Miscompiles ffmpeg's   |VSX: Miscompiles ffmpeg's
   |scalarproduct_int16_vsx at  |scalarproduct_int16_vsx at
   |-O1 |-O1