[Bug rtl-optimization/110701] [14 Regression] Wrong code at -O1/2/3/s on x86_64-linux-gnu

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110701 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 101090, which changed state. Bug 101090 Summary: incorrect -Wunused-value warning on remquo with constant values https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 What|Removed |Added

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result since r9-1295-g781ff3d80e88d7d0

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 --- Comment #9 from Roger Sayle --- *** Bug 101090 has been marked as a duplicate of this bug. ***

[Bug c/101090] incorrect -Wunused-value warning on remquo with constant values

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 Roger Sayle changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug rtl-optimization/110587] [14 regression] 96% pr28071.c compile time regression since r14-2337-g37a231cc7594d1

2023-07-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110587 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug rtl-optimization/110587] [14 regression] 96% pr28071.c compile time regression since r14-2337-g37a231cc7594d1

2023-07-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110587 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)

2023-07-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/110598] [14 Regression] wrong code on llvm-14.0.6 due to memcmp being miscompiled

2023-07-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110598 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/110598] [14 Regression] wrong code on llvm-14.0.6 due to memcmp being miscompiled

2023-07-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110598 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug target/110588] btl (on x86_64) not always generated

2023-07-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110588 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2023-07-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/91681] Missed optimization for 128 bit arithmetic operations

2023-07-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91681 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug tree-optimization/110362] Range information on lower bytes of __uint128_t

2023-07-06 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110362 Roger Sayle changed: What|Removed |Added Component|rtl-optimization|tree-optimization CC|

[Bug target/110533] [x86-64] naked with -O0 and register-passed struct/int128 clobbers parameters/callee-saved regs

2023-07-06 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110533 Roger Sayle changed: What|Removed |Added Last reconfirmed||2023-07-06 Ever confirmed|0

[Bug target/109973] [13 Regression] Wrong code for AVX2 since 13.1 by combining VPAND and VPTEST since r13-2006-ga56c1641e9d25e

2023-07-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|NEW Summary|[13/14

[Bug middle-end/52070] missing integer comparison optimization

2023-07-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52070 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug middle-end/31985] Wide operations (i.e. adddi3) are split too late

2023-06-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31985 Roger Sayle changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug target/78904] zero-extracts are not effective

2023-06-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/88873] missing vectorization for decomposed operations on a vector type

2023-06-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88873 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/109766] Passing doubles through the stack generates a stack adjustment per each such argument at -Os/-Oz.

2023-06-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109766 --- Comment #3 from Roger Sayle --- For the record a solution was proposed at https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618197.html but this approach failed review at https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618278.html

[Bug target/110083] [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/110104] gcc produces sub-optimal code for _addcarry_u64 chain

2023-06-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110104 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|roger at

[Bug target/30829] extra register zero extends on x86_64

2023-06-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30829 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug middle-end/31985] Wide operations (i.e. adddi3) are split too late

2023-06-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31985 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/110104] gcc produces sub-optimal code for _addcarry_u64 chain

2023-06-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110104 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/110083] [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 --- Comment #2 from Roger Sayle --- Created attachment 55241 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55241=edit proposed patch This patch fixes the problem. Bootstrap and regression tests underway.

[Bug target/110083] [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug c++/110070] New: Code quality regression with for (int i: {1,2,4,6})

2023-06-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110070 Bug ID: 110070 Summary: Code quality regression with for (int i: {1,2,4,6}) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/109973] [13/14 Regression] Wrong code for AVX2 since 13.1 by combining VPAND and VPTEST since r13-2006-ga56c1641e9d25e

2023-05-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug target/107812] [11/12/13/14 Regression] RTL SSA forwprop introduced regression since r11-6188

2023-05-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107812 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/109840] [14 Regression] internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2

2023-05-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109840 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/109840] [14 Regression] internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2

2023-05-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109840 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/109766] Passing doubles through the stack generates a stack adjustment per each such argument at -Os/-Oz.

2023-05-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109766 Roger Sayle changed: What|Removed |Added Last reconfirmed||2023-05-08 Ever confirmed|0

[Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression

2023-05-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/105991] [12 Regression] rldicl+sldi+add generated instead of rldimi

2023-04-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 Roger Sayle changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression

2023-04-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/95674] Unnecessary move when doing division-by-multiplication

2023-04-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95674 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/19986] [meta-bug] fold missing optimizations (compared to RTL)

2023-04-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19986 Bug 19986 depends on bug 25186, which changed state. Bug 25186 Summary: (short)(((int)short_var) <<1) should be folded so that the shift is done in the short type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25186 What|Removed

[Bug middle-end/25186] (short)(((int)short_var) <<1) should be folded so that the shift is done in the short type

2023-04-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25186 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug tree-optimization/106888] [RISCV] Negative optimization that excess andi instructions are generated in gcc.dg/pr90838.c

2023-04-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106888 --- Comment #5 from Roger Sayle --- Created attachment 54905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54905=edit proposed patch This patch should fix this problem, by adding another pattern the machine description to also recognize

[Bug target/66511] [avr] whole-byte shifts not optimized away for uint64_t

2023-04-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66511 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/54816] [avr] shift is better than widening mul

2023-04-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54816 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug target/54816] [avr] shift is better than widening mul

2023-04-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54816 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression

2023-04-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476 --- Comment #14 from Roger Sayle --- My apologies for the delay/issues. My bootstrap and regression testing of this patch (on x86_64-pc-linux-gnu) revealed an issue or two (including the reported ICE). My plan was to fix/resolve all these

[Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression

2023-04-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug tree-optimization/109424] ~((x > y) ? x : y) produces two not instructions

2023-04-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109424 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/109104] [13 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1171 with -fzero-call-used-regs=all -march=rv64gv

2023-03-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109104 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/109031] csmith: possible bad code with -O2 -fno-strict-aliasing since r13-254-gdd3c7873a61019e9

2023-03-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109031 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-03-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 Roger Sayle changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103354] missed optimization with & and | and compares

2023-03-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103354 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/109031] csmith: possible bad code with -O2 -fno-strict-aliasing since r13-254-gdd3c7873a61019e9

2023-03-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109031 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-03-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #21 from Roger Sayle --- I completely agree that Richard Sandiford's patch is a much better solution, but I'd like to counter the claims that the change originally proposed in comment #8 is obviously universally bad. Segher has

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-03-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #15 from Roger Sayle --- An example of combine's temporary lapses of sanity can be seen on powerpc: Trying 14 -> 15: 14: %3:SI=sign_extend(r128:SI#2)*sign_extend(r127:SI#2) REG_DEAD r128:SI REG_DEAD r127:SI 15: use

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-03-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #14 from Roger Sayle --- This really is a regression, that points to a previously latent/unnoticed bug in combine. In GCC 12, combine would take the input RTL and based on target costs transform it into the better of implementation

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-01-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #10 from Roger Sayle --- Status update: The x86 backend pieces of my proposed fix have been approved and committed, but the remaining middle-end pieces have been making slow progress:

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2023-01-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 Roger Sayle changed: What|Removed |Added Summary|[10/11/12/13 Regression] a |[10/11/12 Regression] a

[Bug tree-optimization/71343] missed optimization (can't "prove" shift and multiplication equivalence)

2023-01-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71343 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/105546] [11/12/13 Regression] ifconversion introduces many compares with loads

2023-01-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105546 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/99531] [10/11 Regression] Performance regression since gcc 9 (argument passing / register allocation)

2023-01-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531 Roger Sayle changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11 Regression]

[Bug middle-end/107991] [10/11/12/13 Regression] Extra mov instructions with ternary on x86

2023-01-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107991 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx

2023-01-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/108229] [13 Regression] unprofitable STV transform since r13-4873-g0b2c1369d035e928

2023-01-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/92342] [10/11/12/13 Regression] a small missed transformation into x?b:0

2023-01-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #14 from Roger Sayle --- Created attachment 54197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54197=edit Related optimizations to ix86_expand_int_movcc. Just for the record, here is a related patch that I was working on

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #9 from Roger Sayle --- Another way to avoid the SCALAR_FLOAT_MODE_P problem is: /* Add a REG_EQUAL note to allow condition to be shared. */ rtx note = gen_rtx_fmt_ee (orig_code, mode, op0, op1); /*

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #8 from Roger Sayle --- Created attachment 54195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54195=edit Roger's proposed patch Here's my proposed patch (or something close to it, it's still bootstrapping and regression

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug middle-end/100793] ICE: in expand_assignment, at expr.c:5363

2022-12-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100793 Roger Sayle changed: What|Removed |Added Last reconfirmed||2022-12-29 Ever confirmed|0

[Bug target/108229] [13 Regression] unprofitable STV transform since r13-4873-g0b2c1369d035e928

2022-12-28 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/107548] STV doesn't consider vec_select

2022-12-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107548 Roger Sayle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405 since r13-2100-g5cccc

2022-12-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106959 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-12-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/106877] [12 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

2022-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877 Roger Sayle changed: What|Removed |Added Target Milestone|12.3|13.0 Resolution|---

[Bug target/107627] [13 Regression] int128_t shift generates extra xor/or.

2022-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107627 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-28 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #47 from Roger Sayle --- I really don't believe that using UNSPEC here is the correct way to go, but it appears to be the (only?) approach that Segher is prepared to approve. Hohum.

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-10-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 Roger Sayle changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #6 from Roger Sayle --- This sounds related to the discussion/patch originally proposed at https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598040.html and then revised (based on reviewer comments) at

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-09-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Roger Sayle changed: What|Removed |Added Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 --- Comment #3 from Roger Sayle --- Ignore all of Comment 2. The reason the instruction isn't getting split, is that (unlike the other clones), the pseudo's mode is V1TI (not TI), hence doesn't match the constraint. The problem is STV

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

2022-09-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/98954] ((X << CST0) & CST1) == 0 is not optimized to 0 == (X & (CST1 >> CST0))

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98954 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Status|ASSIGNED

[Bug tree-optimization/98956] Failure to optimize out boolean left shift

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98956 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug tree-optimization/64992] More optimize opportunity

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/98956] Failure to optimize out boolean left shift

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98956 Bug 98956 depends on bug 64992, which changed state. Bug 64992 Summary: More optimize opportunity https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 What|Removed |Added

[Bug target/106640] [13 Regression] during RTL pass: stv ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx ashift) in compute_convert_gain, at config/i386/i386-features.cc:1251/1285

2022-09-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106640 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2022-09-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #9 from Roger Sayle --- I'm curious why the zero_extend behaves so differently to a sign_extend, perhaps a missing simplification or pattern. Presumably the CONCAT in the debug_insn is there whether or not a sign_extend or

[Bug target/106609] [12/13 Regression] sh3eb-elf cross compiler is being miscompiled since r12-1525-g3155d51bfd1de8b6c4645

2022-08-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #8 from Roger Sayle --- Time for a status update. The PR title is a little misleading; sign-extensions aren't really the problem, but it turns out that the equivalent zero-extensions aren't always optimized as well as the

[Bug target/106640] [13 Regression] during RTL pass: stv ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx ashift) in compute_convert_gain, at config/i386/i386-features.cc:1251/1285

2022-08-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106640 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug target/106577] [13 Regression] during RTL pass: subreg3 ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O -mavx since r13-2006-ga56c1641e9d25e46

2022-08-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106577 --- Comment #3 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599663.html

[Bug tree-optimization/21137] Convert (a >> 2) & 1 != 0 into a & 4 != 0

2022-08-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21137 Roger Sayle changed: What|Removed |Added Status|REOPENED|RESOLVED Target Milestone|---

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 Roger Sayle changed: What|Removed |Added Component|tree-optimization |rtl-optimization

[Bug tree-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #5 from Roger Sayle --- Hi Tamar, I think this is where I need to apologize. Combine is now canonicalizing these equivalent RTL expressions to the zero_extend form, on the assumption that zero extension has no data dependency and

[Bug tree-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 Roger Sayle changed: What|Removed |Added Last reconfirmed||2022-08-12

[Bug target/106577] [13 Regression] during RTL pass: subreg3 ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O -mavx since r13-2006-ga56c1641e9d25e46

2022-08-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106577 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug tree-optimization/106243] Failure to optimize (0 - x) & 1 on gimple level (including vector types)

2022-08-06 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106243 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/47949] Missed optimization for -Os using xchg instead of mov.

2022-08-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47949 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

<    1   2   3   4   5   >