[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2017-01-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

Segher Boessenkool  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Segher Boessenkool  ---
Fixed.

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

--- Comment #9 from Segher Boessenkool  ---
Author: segher
Date: Mon Nov 21 22:29:34 2016
New Revision: 242681

URL: https://gcc.gnu.org/viewcvs?rev=242681=gcc=rev
Log:
rs6000: rl[wd]imi without shift/rotate (PR68803)

We didn't have patterns yet for rl[wd]imi insns that do a rotate by 0.
This fixes it.


PR target/68803
* config/rs6000/rs6000.md (*rotlsi3_insert_5, *rotldi3_insert_6,
*rotldi3_insert_7): New define_insns.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.md

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-11-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|7.0 |---

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-04-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

Segher Boessenkool  changed:

   What|Removed |Added

 Status|SUSPENDED   |ASSIGNED

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

--- Comment #5 from Segher Boessenkool  ---
Do 4.9.2 and 5.3.0 actually fail the testcase?  Huh?

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

Segher Boessenkool  changed:

   What|Removed |Added

 Status|ASSIGNED|SUSPENDED
   Target Milestone|6.0 |7.0
  Known to fail|4.9.2, 5.3.0, 6.0   |

--- Comment #8 from Segher Boessenkool  ---
Testsuite does not fail on older branches; the target optimisation
will not be backported, either.  Testsuite fixed on trunk.  Suspending
the optimisation part, to be done for 7, too late for 6 now.

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-01-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

--- Comment #6 from Martin Sebor  ---
I would expect them to if they ran it in 64-bit mode since the test in 5.3
looks for the "inm" pattern which matches the rlwinm instruction in gcc's
output.  But in 5.3 and before the test was constrained to ilp32, and so it in
most configurations didn't run on powerpc64le (I don't have a 32-bit GCC
configured to see what it might do).  It's only after r230167 that the failures
started showing up on powerpc6le because the change enabled the test for lp64.

I also didn't run the test suite with 5.3.0 and only inspected the assembly for
the instructions the updated test looks for.

This is what it looks like:

$ /build/gcc-5.3.0/gcc/xgcc -B /build/gcc-5.3.0/gcc -O2 -S -Wall -o/dev/stdout
/src/gcc/trunk/gcc/testsuite/gcc.target/powerpc/20050603-3.c
.file   "20050603-3.c"
.machine power8
.abiversion 2
.section".toc","aw"
.section".text"
.section".toc","aw"
.LC0:
.quad   b
.section".text"
.align 2
.p2align 4,,15
.globl rotins
.type   rotins, @function
rotins:
0:  addis 2,12,.TOC.-0b@ha
addi 2,2,.TOC.-0b@l
.localentry rotins,.-rotins
addis 8,2,.LC0@toc@ha   # gpr load fusion, type long
ld 8,.LC0@toc@l(8)
rlwinm 3,3,0,8,11
lwz 10,0(8)
rlwinm 9,10,8,4,31
rotlwi 9,9,24
or 9,9,3
stw 9,0(8)
blr
.long 0
.byte 0,0,0,0,0,0,0,0
.size   rotins,.-rotins
.comm   b,8,8
.ident  "GCC: (GNU) 5.3.0"
.section.note.GNU-stack,"",@progbits

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

--- Comment #7 from Segher Boessenkool  ---
Author: segher
Date: Thu Jan 14 19:24:28 2016
New Revision: 232380

URL: https://gcc.gnu.org/viewcvs?rev=232380=gcc=rev
Log:
powerpc: Add some XFAILs to 20050603-3.c (PR68803)

In r230167 I made this testcase be tested on 64-bit as well, since it
now works.  That was a tad optimistic for powerpc64le though.  For now,
XFAIL it there.


PR target/68803
* gcc.target/powerpc/20050603-3.c: Add xfails for powerpc64le.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/powerpc/20050603-3.c

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-01-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803

Bill Schmidt  changed:

   What|Removed |Added

Summary|[6 regression]  |gcc.vect/powerpc/20050603-3
   |gcc.vect/powerpc/20050603-3 |.c failures since r230167
   |.c failures since r230167   |

--- Comment #4 from Bill Schmidt  ---
Thanks, Martin.  Agreed, I've removed the [6 regression] designation.