[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #11 from Bill Schmidt --- (In reply to Timothy Pearson from comment #10) > > It's even slow compared to P8 with mitigations applied. Do you have a link > to the hostboot commit that may have enabled the P9 mitigation, or to the > re

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #3 from Bill Schmidt --- I'll see if I can make time to look at this one soon. I suspect the new peeling costs check from Robin just made this test invalid.

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #4 from Bill Schmidt --- _Set8 wasn't supposed to be profitable before -- but this is an old test, predating reasonable unaligned storage accesses with Power8 and later. We should have vectorized both loops as soon as that came along

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt changed: What|Removed |Added Status|WAITING |NEW

[Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c`

2018-04-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 16 02:00:43 2018 New Revision: 259393 URL: https://gcc.gnu.org/viewcvs?rev=259393&root=gcc&view=rev Log: [gcc/testsuite] 2018-04-15 Bill Schmidt PR testsuite/85326

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 16 18:18:42 2018 New Revision: 259407 URL: https://gcc.gnu.org/viewcvs?rev=259407&root=gcc&view=rev Log: [gcc/testsuite] 2018-04-16 Bill Schmidt PR target/85080

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-04-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Bill Schmidt changed: What|Removed |Added Target Milestone|--- |7.4

[Bug target/85198] long long int vector mistaken as long int vector

2018-04-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85198] long long int vector mistaken as long int vector

2018-04-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 --- Comment #4 from Bill Schmidt --- Ah, but vulli does have the wrong element type, when you get a little deeper. V2DI size unit-size align:128 warn_if_not_align:0 symtab:0 alias-set -1 canoni

[Bug target/85198] long long int vector mistaken as long int vector

2018-04-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 --- Comment #5 from Bill Schmidt --- OK, I see Jakub's point now. And this whole business is a big mess -- probably too late to change in 8, but we need to clean this up.

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-05-20 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #13 from Bill Schmidt --- This was prototyped and measured against the firmware fixes with indistinguishable results. So the complexity of a software solution, with its impacts on Linux distributions, was not warranted. (That is, th

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-05-20 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #15 from Bill Schmidt --- PHP's reliance on frequent indirect branches makes it essentially the worst case for this sort of thing. When Spectre v2 CVE mitigations are in place for user code, you will see performance issues on all arc

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-05-20 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #17 from Bill Schmidt --- OK, thanks! I'd be very interested in hearing what you discover.

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-05-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #18 from Bill Schmidt --- I asked around a bit. On x86, user-user attacks are not mitigated by default. To enable user-user mitigation: echo 2 > /sys/kernel/debug/x86/ibrs_enabled My source tells me: 8<--- Red Hat explai

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #3 from Bill Schmidt --- There are six vulnerabilities like this in the SLSR code: replace_mult_candidate (2) replace_rhs_if_not_dup (1) replace_one_candidate (3) I'll work on a fix.

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #4 from Bill Schmidt --- Proposed patch here: https://gcc.gnu.org/ml/gcc-patches/2018-05/msg01183.html

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 Bill Schmidt changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Bill Schmidt

[Bug target/85894] PPC64LE alloca stack slot allocation allows memset to destroy the stack

2018-05-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85894 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Fri May 25 19:12:16 2018 New Revision: 260772 URL: https://gcc.gnu.org/viewcvs?rev=260772&root=gcc&view=rev Log: 2018-05-25 Bill Schmidt PR tree-optimization/85712 *

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-05-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #7 from Bill Schmidt --- Patch from c#6 corrects a problem discovered when backporting to GCC 6. With the two patches, no regressions are seen in trunk, 8, 7, or 6.

[Bug tree-optimization/86020] New: Performance regression in Eigen geometry.cpp test starting with r248333

2018-05-31 Thread wschmidt at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org Target Milestone: --- GCC 8.1 has regressed by about 30% compared with GCC 7.3 on one of the Eigen test cases when measured on Power9

[Bug tree-optimization/86020] Performance regression in Eigen geometry.cpp test starting with r248334

2018-05-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86020 --- Comment #1 from Bill Schmidt --- Created attachment 44220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44220&action=edit Source file that shows the problem

[Bug tree-optimization/86020] Performance regression in Eigen geometry.cpp test starting with r248334

2018-05-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86020 Bill Schmidt changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-06-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #8 from Bill Schmidt --- Author: wschmidt Date: Fri Jun 1 12:55:06 2018 New Revision: 261065 URL: https://gcc.gnu.org/viewcvs?rev=261065&root=gcc&view=rev Log: 2018-06-01 Bill Schmidt PR tree-optimization/85712 B

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-06-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #9 from Bill Schmidt --- Author: wschmidt Date: Fri Jun 1 12:57:16 2018 New Revision: 261066 URL: https://gcc.gnu.org/viewcvs?rev=261066&root=gcc&view=rev Log: 2018-06-01 Bill Schmidt PR tree-optimization/85712 B

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-06-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 --- Comment #10 from Bill Schmidt --- Author: wschmidt Date: Fri Jun 1 13:00:57 2018 New Revision: 261067 URL: https://gcc.gnu.org/viewcvs?rev=261067&root=gcc&view=rev Log: 2018-06-01 Bill Schmidt PR tree-optimization/85712

[Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479

2018-06-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712 Bill Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2018-06-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #9 from Bill Schmidt --- Also reported by Donald Stence this week: The compiler produces excessive sequences to synthesize some literal constants. This contributes excess path length and potentially latency. Constants requiring only

[Bug target/86197] POWERPC: float128 parameter passing

2018-06-18 Thread wschmidt at gcc dot gnu.org
, ||segher at gcc dot gnu.org, ||wschmidt at gcc dot gnu.org Target Milestone|--- |8.2

[Bug target/86197] POWERPC: float128 parameter passing

2018-06-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86197 --- Comment #1 from Bill Schmidt --- Note, this is restricted to powerpc64le using ELFv2 ABI.

[Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128

2018-06-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367 Bill Schmidt changed: What|Removed |Added Keywords||wrong-code Target|

[Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128

2018-06-30 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367 --- Comment #8 from Bill Schmidt --- That makes sense -- we already have a NaN rather than an SNaN by the time we hit the Ealias pass.

[Bug lto/91287] New: LTO disables linking with scalar MASS library (Fortran only)

2019-07-29 Thread wschmidt at gcc dot gnu.org
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- The MASS (Mathematical Acceleration Subsystem) libraries provide alternatives to math functions

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Bill Schmidt changed: What|Removed |Added Keywords||lto, wrong-code Target|

[Bug ipa/69678] Missed function specialization + partial devirtualization opportunity

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69678 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #12 from Bill Schmidt --- (In reply to rguent...@suse.de from comment #11) > On Wed, 31 Jul 2019, wschmidt at linux dot ibm.com wrote: > > OK, so -mveclibabi=mass isn't needed to reproduce the issue, nor is > linking -lmassv or -lmas

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Bill Schmidt changed: What|Removed |Added Known to fail||10.0, 8.3.0, 9.1.0 --- Comment #13 from B

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-08-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Bill Schmidt changed: What|Removed |Added Known to fail||7.4.0 --- Comment #23 from Bill Schmidt

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-05 Thread wschmidt at gcc dot gnu.org
*-*-* CC||wschmidt at gcc dot gnu.org --- Comment #17 from Bill Schmidt --- We're going to need a fix for Power as well. We see a 12% drop in 456.hmmer around July 2. We lose vectorization and end up with a couple of isel's in the loop (equivalent to x86 cmov).

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #18 from Bill Schmidt --- Richi corrected me -- this is not vectorization, but use of SSE on lane zero to do scalar computation.

[Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875

2019-08-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518 --- Comment #5 from Bill Schmidt --- r8 should be the base address, for what it's worth. For a version of GCC where this is working, a data address is loaded there. For the failing version, we see a value of 1 loaded instead.

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-09-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-09-30 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #6 from Bill Schmidt --- Thanks for the report! Sorry for taking so long to look at this. Swap optimization treats vpmsumd as swappable, but unlike vpmsumb, vpmsumh, and vpmsumw, it is not. Testing a patch.

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #10 from Bill Schmidt --- I don't *believe* that "#pragma target" works with -mno-optimize-swaps, but you could try it. I think that mechanism only works for certain flags, but I haven't tried that one. I think inline asm should ki

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #11 from Bill Schmidt --- I tested #pragma target -mno-optimize-swaps, and it doesn't help. The only options that can be specified with #pragma target for Power are listed here: https://gcc.gnu.org/onlinedocs/gcc/PowerPC-Function-At

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #12 from Bill Schmidt --- Committed to trunk with 276410. Forgot to annotate the ChangeLog with the PR, so here it is: [gcc] 2019-10-01 Bill Schmidt * config/rs6000/rs6000-p8swap.c (rtx_is_swappable_p): Don't swap

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 Bill Schmidt changed: What|Removed |Added Known to work||10.0 Known to fail|

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #15 from Bill Schmidt --- Excellent! I'm glad you have a workaround for the time being.

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #16 from Bill Schmidt --- Author: wschmidt Date: Mon Oct 7 18:23:20 2019 New Revision: 276667 URL: https://gcc.gnu.org/viewcvs?rev=276667&root=gcc&view=rev Log: [gcc] 2019-10-07 Bill Schmidt Backport from mainline

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #17 from Bill Schmidt --- Author: wschmidt Date: Mon Oct 7 19:34:41 2019 New Revision: 276669 URL: https://gcc.gnu.org/viewcvs?rev=276669&root=gcc&view=rev Log: [gcc] 2019-10-07 Bill Schmidt Backport from mainline

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #18 from Bill Schmidt --- Author: wschmidt Date: Mon Oct 7 20:50:05 2019 New Revision: 276678 URL: https://gcc.gnu.org/viewcvs?rev=276678&root=gcc&view=rev Log: [gcc] 2019-10-07 Bill Schmidt Backport from mainline

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 Bill Schmidt changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #20 from Bill Schmidt

[Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r

2019-10-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/92093] New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE

2019-10-15 Thread wschmidt at gcc dot gnu.org
||2019-10-15 Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Bill Schmidt --- Confirmed, mine.

[Bug testsuite/92093] New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE

2019-10-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92093 --- Comment #2 from Bill Schmidt --- Author: wschmidt Date: Tue Oct 15 12:44:25 2019 New Revision: 276999 URL: https://gcc.gnu.org/viewcvs?rev=276999&root=gcc&view=rev Log: 2019-10-15 Bill Schmidt PR target/92093 * gcc.target

[Bug testsuite/92093] New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE

2019-10-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92093 Bill Schmidt changed: What|Removed |Added Known to work||10.0 Known to fail|

[Bug testsuite/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 --- Comment #2 from Bill Schmidt --- (In reply to Richard Biener from comment #1) > Possibly a similar reason as x86, vect_cond_mixed is set but you cannot do > V2DIV2DF mixed condition handling? That appears to be the case: proc check_effectiv

[Bug testsuite/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 --- Comment #3 from Bill Schmidt --- Uh, actually that is not quite right. We do have vcondv4sfv4si and vcondv4siv4sf patterns. So it looks like we need to adjust the test case until such time as we add the v2di/v2df ones.

[Bug testsuite/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 Bill Schmidt changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Bill Schmidt ---

[Bug target/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 --- Comment #5 from Bill Schmidt --- Proposed patch: https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00656.html

[Bug target/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Tue Dec 12 20:44:57 2017 New Revision: 255588 URL: https://gcc.gnu.org/viewcvs?rev=255588&root=gcc&view=rev Log: 2017-12-12 Bill Schmidt PR target/83332 * config/rs6

[Bug target/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-12 Thread wschmidt at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org --- Comment #7 from Bill Schmidt --- Fixed.

[Bug tree-optimization/83403] New: Missed register promotion opportunities in loop

2017-12-12 Thread wschmidt at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org Target Milestone: --- Created attachment 42857 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42857&action=edit Source file One of our performance folks ran across

[Bug tree-optimization/83403] Missed register promotion opportunities in loop

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83403 Bill Schmidt changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #4 from Bill Schmidt --- I think the issue may be in this code: /* For any other increment, if this is a multiply candidate, we must introduce a temporary T and initialize it with

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #5 from Bill Schmidt --- Here's an untested patch (bootstraps successfully but regtest is still ongoing): Index: gcc/gimple-ssa-strength-reduction.c ==

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #7 from Bill Schmidt --- Thanks, Jakub, good catch on the HWI overflow. I'll make those changes and re-test. FWIW, the patch as proposed above passes regstrap and will be good enough for testing whether this indeed is the right appr

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #8 from Bill Schmidt --- Revised patch: Index: gcc/gimple-ssa-strength-reduction.c === --- gcc/gimple-ssa-strength-reduction.c (rev

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #9 from Bill Schmidt --- I was able to build an i386 cross, and this wasn't sufficient to solve the problem. I see: Processing dependency tree rooted at 1. Inserting initializer: slsr_10 = scale_7(D) * 3; Increment vector: 0 in

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #10 from Bill Schmidt --- I see that I was looking at the wrong leg here. This is a CAND_ADD, not a CAND_MULT, and I'm getting strange cost results on that path. The proposed change is still appropriate in my view, but not relevant

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #11 from Bill Schmidt --- OK, for the i386 case, this simply comes down to the following. - mult_by_coeff_cost (3, E_SImode, true) returns a cost of 4 - mult_by_coeff_cost (4, E_SImode, true) returns a cost of 8 Garbage in, garbag

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #12 from Bill Schmidt --- By contrast, on powerpc64le, we see: - mult_by_coeff_cost (3, E_SImode, true) returns a cost of 8 - mult_by_coeff_cost (4, E_SImode, true) returns a cost of 4 These are the sort of costs one would expect,

[Bug target/83660] ICE with vec_extract inside expression statement

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 Bill Schmidt changed: What|Removed |Added Keywords||ice-on-valid-code Target|powe

[Bug target/83660] ICE with vec_extract inside expression statement

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #2 from Bill Schmidt --- Also fails with -mcpu=power6 -maltivec. Also succeeds with -mcpu=power9.

[Bug target/83677] New: PPC: The xxpermr instruction is not generated correctly

2018-01-03 Thread wschmidt at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org Target Milestone: --- Created attachment 43026 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43026&action=edit Test case demonstrating the

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-03 Thread wschmidt at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Ever confirmed|0 |1 Target Milestone|--- |7.3 Known to fail||7.2.1, 8.0 --- Comment #1 from Bill Schmidt --- Confirmed.

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 --- Comment #2 from Bill Schmidt --- Author: wschmidt Date: Mon Jan 8 23:08:34 2018 New Revision: 256358 URL: https://gcc.gnu.org/viewcvs?rev=256358&root=gcc&view=rev Log: [gcc] 2018-01-08 Bill Schmidt PR target/83677 * con

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 Bill Schmidt changed: What|Removed |Added Known to fail|8.0 | --- Comment #3 from Bill Schmidt --- Fi

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 --- Comment #4 from Bill Schmidt --- Author: wschmidt Date: Sun Jan 14 17:47:30 2018 New Revision: 256670 URL: https://gcc.gnu.org/viewcvs?rev=256670&root=gcc&view=rev Log: [gcc] 2018-01-14 Bill Schmidt Backport from mainline

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Sun Jan 14 17:49:39 2018 New Revision: 256671 URL: https://gcc.gnu.org/viewcvs?rev=256671&root=gcc&view=rev Log: [gcc] 2018-01-14 Bill Schmidt Backport from mainline

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/83862] powerpc: ICE in signbit testcase

2018-01-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83862 Bill Schmidt changed: What|Removed |Added Target||powerpc*-*-* Target Milestone|---

[Bug target/83946] [7/8 Regression] Safe Indirect Jumps broken on AIX

2018-01-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83946 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org

[Bug target/83946] [7/8 Regression] Safe Indirect Jumps broken on AIX

2018-01-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83946 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Sun Jan 21 13:26:07 2018 New Revision: 256931 URL: https://gcc.gnu.org/viewcvs?rev=256931&root=gcc&view=rev Log: [gcc] 2018-01-21 Bill Schmidt David Edelsohn P

[Bug target/83946] [7/8 Regression] Safe Indirect Jumps broken on AIX

2018-01-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83946 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Sun Jan 21 13:32:58 2018 New Revision: 256932 URL: https://gcc.gnu.org/viewcvs?rev=256932&root=gcc&view=rev Log: [gcc] 2018-01-21 Bill Schmidt Backport from mainline

[Bug target/83946] [7/8 Regression] Safe Indirect Jumps broken on AIX

2018-01-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83946 --- Comment #8 from Bill Schmidt --- Segher was kind enough to run AIX tests for me last night. There is still one non-blocking issue with safe-indirect-jump-8.c, which should be skipped for AIX, since it doesn't generate sibcalls to non-local f

[Bug target/83946] [7/8 Regression] Safe Indirect Jumps broken on AIX

2018-01-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83946 --- Comment #9 from Bill Schmidt --- Author: wschmidt Date: Mon Jan 22 02:46:11 2018 New Revision: 256939 URL: https://gcc.gnu.org/viewcvs?rev=256939&root=gcc&view=rev Log: 2018-01-21 Bill Schmidt PR target/83946 * gcc.target

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #2 from Bill Schmidt --- Does this work on GCC 7 (obviously without -mno-fold-gimple)? If so, please mark as [8 regression] in title.

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-24 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #5 from Bill Schmidt --- That looks completely invalid, the args should be vector long long, not long long.

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-24 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #6 from Bill Schmidt --- But I assume that's your transcription error. In the test case the arguments are vector long long.

[Bug target/84033] powerpc64le -moptimize-swaps bad code with vec_vbpermq

2018-01-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84033 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

2018-02-02 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81038 Bill Schmidt changed: What|Removed |Added Assignee|acsawdey at gcc dot gnu.org|wschmidt at gcc dot gnu.org

[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

2018-02-02 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81038 --- Comment #8 from Bill Schmidt --- The commentary for r248678 reads in part: "Compute costs for doing no peeling at all, compare to the best peeling costs so far and avoid peeling if cheaper." Indeed, if you look at the vect dump for r248677,

[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

2018-02-02 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81038 --- Comment #9 from Bill Schmidt --- Prospective patch posted at https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00137.html.

[Bug target/78303] PowerPC vec-init-{1,2,4,5,8,9} tests do not run on -mlittle -maltivec=be

2018-02-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78303 --- Comment #3 from Bill Schmidt --- The memory layout is correct. It should not change regardless of endianness settings. (The byte order of each element is dependent upon the fundamental endianness, but the order of array elements with respec

[Bug target/84266] mmintrin.h intrinsic headers for PowerPC code fails on power9

2018-02-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84266 --- Comment #2 from Bill Schmidt --- I wonder how many failures are left if that invalid cast is removed from the code? It is just wrong and unnecessary.

[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

2018-02-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81038 Bill Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

<    1   2   3   4   5   6   7   8   9   10   >