[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

2021-07-14 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101129 --- Comment #8 from Bill Schmidt --- Small change required to actually check that it's a SET insn. (oops) Otherwise looks like it passed regstrap. Testing the revised patch now. Thanks for the pre-review!

[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

2021-07-14 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101129 --- Comment #6 from Bill Schmidt --- Testing this patch. diff --git a/gcc/config/rs6000/rs6000-p8swap.c b/gcc/config/rs6000/rs6000-p8swap.c index 21cbcb2e28a..00693e6dc60 100644 --- a/gcc/config/rs6000/rs6000-p8swap.c +++

[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

2021-07-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101129 --- Comment #5 from Bill Schmidt --- Uh, yeah, that is completely unexpected behavior for swaps. I'll try to look at this soon.

[Bug target/100866] PPC: Inefficient code for vec_revb(vector unsigned short) < P9

2021-06-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100866 --- Comment #11 from Bill Schmidt --- Segher, does this fit naturally in combine?

[Bug target/100866] PPC: Inefficient code for vec_revb(vector unsigned short) < P9

2021-06-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100866 --- Comment #10 from Bill Schmidt --- Right, it would be a good optimization. We've stopped focusing much on P8 optimization work at this point simply because of lack of resources. The needed transform is to recognize load-xxlnor-vperm as a

[Bug target/101022] rs6000: __builtin_altivec_vcmpequt expands to wrong pattern

2021-06-11 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101022 --- Comment #4 from Bill Schmidt --- Hi Carl -- while you're in there, can you please remove these? +BU_P10_OVERLOAD_2 (VRLQ, "vrlq") +BU_P10_OVERLOAD_2 (VSLQ, "vslq")

[Bug target/101022] rs6000: __builtin_altivec_vcmpequt expands to wrong pattern

2021-06-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101022 --- Comment #2 from Bill Schmidt --- Looks like the proper pattern should be altivec_eqv1ti.

[Bug target/101022] rs6000: __builtin_altivec_vcmpequt expands to wrong pattern

2021-06-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101022 Bill Schmidt changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/101022] New: rs6000: __builtin_altivec_vcmpequt expands to wrong pattern

2021-06-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org Target Milestone: --- This line appears in a recent patch committed this week: +BU_P10V_AV_2 (VCMPEQUT,"vcmpequt", CONST,

[Bug target/100930] PPC: Missing builtins for P9 vextsb2w, vextsb2w, vextsb2d, vextsh2d, vextsw2d

2021-06-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100930 --- Comment #2 from Bill Schmidt --- Carl Love implemented these on trunk yesterday. They will be backported to GCC 11 in a week or so, at which point we can close this.

[Bug target/100930] PPC: Missing builtins for P9 vextsb2w, vextsb2w, vextsb2d, vextsh2d, vextsw2d

2021-06-06 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100930 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/100703] __vector_pair and __vector_quad cannot be passed by reference

2021-06-03 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100703 Bill Schmidt changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug testsuite/100749] [12 regression] gcc.dg/pch/valid-1.c fails after r12-949

2021-06-02 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100749 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug target/100706] Invalid instructions in plt calls on PPC

2021-06-02 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100706 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org

[Bug testsuite/100750] new test case gcc.target/powerpc/rop-5.c fails on BE

2021-06-02 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100750 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/100750] new test case gcc.target/powerpc/rop-5.c fails on BE

2021-06-01 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100750 --- Comment #4 from Bill Schmidt --- I cannot reproduce failures for powerpc64le on P10 LE.

[Bug testsuite/100750] new test case gcc.target/powerpc/rop-5.c fails on BE

2021-06-01 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100750 --- Comment #3 from Bill Schmidt --- Fixed the BE problem. Will look into the GCC11 report.

[Bug c++/100809] PPC: __int128 divide/modulo does not use P10 instructions vdivsq/vdivuq

2021-06-01 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100809 --- Comment #2 from Bill Schmidt --- I believe this work is pending, but the patches are still under review.

[Bug target/98734] ABI diagnostics emitted despite always_inline attribute

2021-05-19 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98734 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug libstdc++/94080] -mabi=ieeelongdouble and -mfloat128 cause libstc++ header breakage

2021-04-19 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94080 --- Comment #4 from Bill Schmidt --- Thanks, Jonathan!

[Bug target/88696] Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int);

2021-04-16 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |wschmidt at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Bill Schmidt --- Documentation fixed today to point to the master intrinsic reference document, which has the vec_mul omissions fixed.

[Bug target/57547] Missing vector intrinsics in PowerPC Altivec documentation

2021-04-16 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57547 Bill Schmidt changed: What|Removed |Added Assignee|kelvin at gcc dot gnu.org |wschmidt at gcc dot gnu.org

[Bug ipa/96825] [11 Regression] Commit r11-2645 degrades CPU2017 548.exchange2_r by 35%

2021-03-17 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96825 --- Comment #3 from Bill Schmidt --- Is this going to be addressed in GCC 11? Should this be only a P3?

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-02-07 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #14 from Bill Schmidt --- We should definitely not be allowing the AltiVec "& ~16" flavors into these patterns. I'm not certain whether your fix is the best way to achieve that, but it could well be; I'll defer to Segher on that.

[Bug testsuite/98325] [11 regression] gcc.dg/pr25376.c fails after r11-5027

2021-01-22 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98325 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug libstdc++/94080] -mabi=ieeelongdouble and -mfloat128 cause libstc++ header breakage

2021-01-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94080 --- Comment #2 from Bill Schmidt --- Let's see, with patches from late last year, can this be closed now?

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-05 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 --- Comment #14 from Bill Schmidt --- I agree, Peter.

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-05 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 --- Comment #12 from Bill Schmidt --- Right...but if somebody specifies an instruction with a 'p' that is legitimately a pc-relative instruction, we don't want to say that the memory operand can't use PC-relative addressing, do we? I just want

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-05 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 --- Comment #10 from Bill Schmidt --- But it seems we would also need a new constraint that does permit PC-relative addresses, since new code will/may not have a TOC.

[Bug target/96791] ICE in convert_mode_scalar, at expr.c:412

2020-08-27 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96791 --- Comment #4 from Bill Schmidt --- Not the partially dead store code after all -- just a coincidence!

[Bug target/96791] ICE in convert_mode_scalar, at expr.c:412

2020-08-27 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96791 Bill Schmidt changed: What|Removed |Added CC||luoxhu at gcc dot gnu.org --- Comment #2

[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

2020-08-27 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

2020-08-26 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787 --- Comment #8 from Bill Schmidt --- I'm working on a patch.

[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

2020-08-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787 --- Comment #7 from Bill Schmidt --- I believe the problem may be that rs6000_sibcall_aix doesn't contain any handling for indirect calls, whereas similar code for other ABIs, like rs6000_sibcall_sysv, does. Alan, does this make sense?

[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

2020-08-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787 Bill Schmidt changed: What|Removed |Added CC||amodra at gcc dot gnu.org --- Comment #6

[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

2020-08-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787 --- Comment #5 from Bill Schmidt --- The divergence occurs after .L75 in the two versions. In the P10 version, we see that the second bctrl has been converted into a bctr. It looks like a tail call optimization happening, but we aren't at the

[Bug target/96139] Vector element extract mistypes long long int down to long int

2020-07-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96139 --- Comment #2 from Bill Schmidt --- Have you tried it for -m32, out of curiosity?

[Bug target/96017] Powerpc suboptimal register spill in likely path

2020-07-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96017 --- Comment #2 from Bill Schmidt --- Nick reports same behavior at -O3.

[Bug target/96017] Powerpc suboptimal register spill in likely path

2020-07-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96017 Bill Schmidt changed: What|Removed |Added Target Milestone|9.4 |11.0

[Bug target/96017] Powerpc suboptimal register spill in likely path

2020-07-01 Thread wschmidt at gcc dot gnu.org
, ||wschmidt at gcc dot gnu.org Target Milestone|--- |9.4 Build|gcc version 9.2.1 20190909 | |(Debian 9.2.1-8)| Keywords||missed-optimization --- Comment #1

[Bug target/95952] [8 Regression] gcc-8 bootstrap failure on powerpc64-linux

2020-06-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95952 Bill Schmidt changed: What|Removed |Added CC||willschm at gcc dot gnu.org --- Comment

[Bug target/65010] ppc backend generates unnecessary signed extension

2020-06-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65010 Bill Schmidt changed: What|Removed |Added CC||jens.seifert at de dot ibm.com ---

[Bug target/95737] PPC: Unnecessary extsw after negative less than

2020-06-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95737 Bill Schmidt changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/95737] PPC: Unnecessary extsw after negative less than

2020-06-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95737 --- Comment #1 from Bill Schmidt --- Please test this out of context of a return statement. The problem with unnecessary extends of return values is widely known and not specific to this particular case.

[Bug target/70053] Returning a struct of _Decimal128 values generates extraneous stores and loads

2020-05-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70053 Bill Schmidt changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 --- Comment #25 from Bill Schmidt --- But I'm not going to worry about it further.

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug target/95082] LE implementations of vec_cnttz_lsbb and vec_cntlz_lsbb are wrong

2020-05-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95082 Bill Schmidt changed: What|Removed |Added Keywords||wrong-code

[Bug target/95082] New: LE implementations of vec_cnttz_lsbb and vec_cntlz_lsbb are wrong

2020-05-12 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: --- For little endian, we need to swap vctzlsbb and vclzlsbb, but today we generate the BE instruction in all cases.

[Bug target/94954] Wrong code generation for vec_pack_to_short_fp32 builtin for Power

2020-05-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94954 Bill Schmidt changed: What|Removed |Added Target Milestone|--- |11.0 Keywords|

[Bug target/94954] New: Wrong code generation for vec_pack_to_short_fp32 builtin for Power

2020-05-05 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: --- This builtin was mis-implemented. It is supposed to pack 32-bit floating-point values into 16-bit floating-point form. Instead

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #8 from Bill Schmidt --- Thus the compiler is acting as expected in both cases, so far as I can see. If C++17 has added new hidden fields, that seems to have introduced an incompatibility between C++17 and C++14 targeted code for

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #7 from Bill Schmidt --- ELF V1 does not have a concept of homogeneous aggregates.

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #6 from Bill Schmidt --- The ELFv2 ABI has a prominent note specifying: "Floating-point and vector aggregates that contain padding words and integer fields with a width of 0 should not be treated as homogeneous aggregates."

[Bug libstdc++/91153] New test case 29_atomics/atomic_float/1.cc execution test fails

2020-04-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91153 --- Comment #4 from Bill Schmidt --- Perfect, thanks! I'll take it off my concern list...

[Bug libstdc++/91153] New test case 29_atomics/atomic_float/1.cc execution test fails

2020-04-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91153 Bill Schmidt changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/91804] [10 regression] r265398 breaks gcc.target/powerpc/vec-rlmi-rlnm.c

2020-04-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91804 Bill Schmidt changed: What|Removed |Added Priority|P2 |P4 --- Comment #3 from Bill Schmidt ---

[Bug target/90000] Compile-time hog w/ impossible asm constraints on powerpc

2020-04-02 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 Bill Schmidt changed: What|Removed |Added Last reconfirmed||2020-04-02 Ever confirmed|0

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-03-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 Bill Schmidt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-03-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #10 from Bill Schmidt --- rs6000: Fix -mpower9-vector -mno-altivec ICE (PR87560) PR87560 reports an ICE when a test case is compiled with -mpower9-vector and -mno-altivec. This patch terminates compilation with an error when this

[Bug testsuite/94019] [9 regression] gcc.dg/vect/vect-over-widen-17.c fails starting with g:370c2ebe8fa20e0812cd2d533d4ed38ee2d37c85, r9-1590

2020-03-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94019 --- Comment #4 from Bill Schmidt --- Oh sorry, we are awaiting a backport. Never mind.

[Bug testsuite/94019] [9 regression] gcc.dg/vect/vect-over-widen-17.c fails starting with g:370c2ebe8fa20e0812cd2d533d4ed38ee2d37c85, r9-1590

2020-03-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94019 --- Comment #3 from Bill Schmidt --- Looks like this could be closed, Kewen?

[Bug target/93709] [10 regression] fortran.dg/minlocval_4.f90 fails on power 9 after r10-4161

2020-03-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93709 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/91638] powerpc -mlong-double-NN (documentation) issues

2020-03-09 Thread wschmidt at gcc dot gnu.org
|--- |FIXED CC||wschmidt at gcc dot gnu.org --- Comment #8 from Bill Schmidt --- Work is complete.

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-03-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #9 from Bill Schmidt --- I plan to backport the fix to releases/gcc-9 after 9.3 releases.

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-02-28 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #6 from Bill Schmidt --- OK, looks like the gimple has changed so we don't see the opportunity anymore in GCC 10.

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-02-28 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #4 from Bill Schmidt --- Although perhaps we've done a better job of sorting out these flags since then. Segher, anything ring a bell?

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-02-28 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #3 from Bill Schmidt --- I expect the problem is still there somewhere, but it's gone latent. There haven't been any changes to *xxspltib__split since 2016. Will need to look at gcc-9 branch to debug.

[Bug target/87560] ICE in curr_insn_transform, at lra-constraints.c:3892

2020-02-24 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87560 --- Comment #2 from Bill Schmidt --- Hm, I can't reproduce this with current trunk. Does it still occur for you, Martin?

[Bug target/93819] PPC64 builtin vec_rlnm() argument order is wrong.

2020-02-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93819 Bill Schmidt changed: What|Removed |Added Component|c |target Target Milestone|---

[Bug target/93709] [10 regression] fortran.dg/minlocval_4.f90 fails on power 9 after r10-4160

2020-02-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93709 --- Comment #1 from Bill Schmidt --- r10-4160 is the "daily bump" commit. How confident are you in your bisection? :-)

[Bug target/90763] PowerPC vec_xl_len should take const

2020-02-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90763 --- Comment #2 from Bill Schmidt --- Whoops, that was not supposed to go to bz. Sorry about that.

[Bug target/93570] PPC: __builtin_mtfsf does not return a value

2020-02-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93570 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/93570] PPC: __builtin_mtfsf does not return a value

2020-02-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93570 Bill Schmidt changed: What|Removed |Added Target Milestone|--- |10.0

[Bug target/91903] vec_ctf altivec intrinsic can cause ICE on powerpc

2020-02-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91903 Bill Schmidt changed: What|Removed |Added Keywords||ice-on-invalid-code Target

[Bug target/93570] PPC: __builtin_mtfsf does not return a value

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

[Bug target/91903] vec_ctf altivec intrinsic can cause ICE on powerpc

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

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-02-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #8 from Bill Schmidt --- Yes, the variable element numbers were the difficulties in question that slowed things down last time, as I recall. We may want to try to fold the simple cases in gimple and let the rest run through to

[Bug target/91903] vec_ctf altivec intrinsic can cause ICE on powerpc

2020-01-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91903 --- Comment #4 from Bill Schmidt --- Well, we should give you a better error message instead of an ICE. But the ABI definition of the second argument as "const int" indicates it needs to be an actual constant in the range 0..31. So You're

[Bug target/93449] PPC: Missing conversion builtin from vector to _Decimal128 and vice versa

2020-01-28 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93449 --- Comment #7 from Bill Schmidt --- The ELFv2 ABI Appendix B calls for a bcd data type defined as: typedef bcd vector unsigned char; and then defines a bunch of potential functions that can be built around it. The BCD functions (such as

[Bug target/93448] PPC: missing builtin for DFP quantize(dqua,dquai,dquaq,dquaiq)

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

[Bug target/91274] vec_splat_[us]64 missing for ppc

2020-01-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91274 --- Comment #4 from Bill Schmidt --- The short answer is history. Those others were inherited from the old Altivec PIM. Having splat-immediates with different names for different sizes and signedness isn't consistent with the rest of the

[Bug target/91274] vec_splat_[us]64 missing for ppc

2020-01-21 Thread wschmidt at gcc dot gnu.org
||wschmidt at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Bill Schmidt --- Such interfaces were never supported or promised for ppc64le. The fact that s390 supports them is irrelevant. The supported interfaces you're looking

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-01-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #6 from Bill Schmidt --- That should read "rs6000_gimple_fold_builtin".

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-01-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #5 from Bill Schmidt --- Yeah, vec_extract should get folded in rs6000_fold_builtin eventually. I think that Will had a patch in progress on this at one time, but ran into some difficulties and it got abandoned in favor of more

[Bug debug/93206] non-delegitimized UNSPEC generated for C program on PowerPc with current mainline GCC tree

2020-01-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93206 --- Comment #6 from Bill Schmidt --- (In reply to Jakub Jelinek from comment #4) > There is no error, it is a note and if some variable at some point, even > short one, can't be described using just registers or memory, but needs the > value of

[Bug target/93206] non-delegitimized UNSPEC generated for C program on PowerPc with current mainline GCC tree

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

[Bug target/70928] Load simple float constants via VSX operations on PowerPC

2020-01-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70928 Bill Schmidt changed: What|Removed |Added CC||jens.seifert at de dot ibm.com ---

[Bug target/93128] PPC small floating point constants can be constructed using vector operations

2020-01-06 Thread wschmidt at gcc dot gnu.org
||wschmidt at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Bill Schmidt --- This is a duplicate of PR70928. *** This bug has been marked as a duplicate of bug 70928 ***

[Bug target/93013] PPC: optimization around modulo leads to incorrect result

2019-12-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93013 Bill Schmidt changed: What|Removed |Added Target|powerpc-ibm-aix7.1.0.0 |powerpc-*-*-*

[Bug tree-optimization/93013] PPC: optimization around modulo leads to incorrect result

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

[Bug target/93011] PowerPC GCC has warning that aggregate alignment changed in GCC 5

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

[Bug target/93011] PowerPC GCC has warning that aggregate alignment changed in GCC 5

2019-12-19 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93011 --- Comment #1 from Bill Schmidt --- This is worth considering; but offhand I don't believe we should remove this until common distros that use GCC 4.8 or 4.9 as default are retired (RHEL 7 and SLES 12, for example, both use 4.8 as default and

[Bug target/91534] some defined builtins are not usable

2019-12-15 Thread wschmidt at gcc dot gnu.org
||wschmidt at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Bill Schmidt --- For clarity, many of these interfaces are only used internally as part of mappings from overloaded builtins to builtins for a specific set of vector type

[Bug target/92923] __builtin_vec_xor() causes subregs to be used when not using V4SImode vectors

2019-12-12 Thread wschmidt at gcc dot gnu.org
||2019-12-12 CC||wschmidt at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Bill Schmidt --- Confirmed. The problem is bad overloading code for vec_xor, which accepts all vector types but translates

[Bug testsuite/92398] [10 regression] error in update of gcc.target/powerpc/pr72804.c in r277872

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2019-11-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 92098, which changed state. Bug 92098 Summary: [9 Regression] After r262333, the following code cannot be vectorized on powerpc64le. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92098 What|Removed

[Bug tree-optimization/92098] [9 Regression] After r262333, the following code cannot be vectorized on powerpc64le.

2019-11-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92098 Bill Schmidt changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/91886] [10 regression] powerpc64 impossible constraint in asm

2019-11-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #32 from Bill Schmidt --- BTW, we are in close contact with the Clang folks for Power as well, so we're going to get together with them about constraints consistency and a way forward to ensure these problems don't recur. I don't

[Bug target/92287] Mismatches in the calling convention for zero sized types

2019-10-30 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92287 --- Comment #5 from Bill Schmidt --- For 32-bit big-endian PowerPC (using the 32-bit ELF ABI), the same code generation is provided by GCC and Clang. I.e., here's the code generation for Clang with -O2 -m32 -mbig-endian, using 6.0.0-1ubuntu2:

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