[Bug target/117013] aarch64 should define spaceship4 optab

2025-01-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117013 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Richar

[Bug target/118531] [14/15 Regression] aarch64/ins_bitfield_1.c generates INS instructions even for +nosimd

2025-01-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
||2025-01-17 Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Richard Sandiford --- Mine.

[Bug target/118531] New: [14/15 Regression] aarch64/ins_bitfield_1.c generates INS instructions even for +nosimd

2025-01-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* g:b096a6ebe9d9f9fed4c105f6555f724eb32af95c

[Bug ipa/117432] [12/13/14/15 Regression] IPA ICF disregards types of variadic arguments since r10-4643-ga37f58f506e436

2025-01-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117432 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/118328] Implement preserve_none for AArch64

2025-01-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118328 --- Comment #11 from Richard Sandiford --- Created attachment 60175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60175&action=edit Proof-of-concept patch Here's a lightly-tested proof-of-concept patch for preserve_none on AArch64. In p

[Bug target/118377] ICE when using C division operator with svint8 and svint16

2025-01-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118377 --- Comment #10 from Richard Sandiford --- (In reply to Tejas Belagod from comment #9) > Technically, as this is not a regression, can we fix this to sorry more > gracefully for GCC15 as 'Not yet implemented'? Yeah. The testcase is IMO valid AC

[Bug fortran/118471] New: Missed folding of descriptor span field for contiguous Fortran pointers

2025-01-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
: missed-optimization Severity: enhancement Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- [I'm filing this speculatively because I don't know whether the optim

[Bug target/118418] [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g06c4cf398947b5

2025-01-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118418 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/118418] [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g06c4cf398947b5

2025-01-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118418 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug rtl-optimization/117186] [12/13/14 Regression] aarch64 wrong code for (a < b) < (b < a)

2025-01-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117186 Richard Sandiford changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug target/107102] SVE function fails to realize it doesn't need the frame-pointer in the tail call.

2025-01-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107102 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118301] Feature request: CLI parament std with explicit experimental values

2025-01-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118301 --- Comment #6 from Richard Sandiford --- (In reply to Jonathan Wakely from comment #5) > We already have -std=c++2a for that and it doesn't solve anything. You obviously know better than me :), but I thought c++2a was used for things that aren'

[Bug c++/118301] Feature request: CLI parament std with explicit experimental values

2025-01-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118301 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/118328] Implement preserve_none for AArch64

2025-01-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118328 --- Comment #2 from Richard Sandiford --- (In reply to Andrew Pinski from comment #1) > Note most of the use cases in my view for these attributes. These attributes > are there specifically to work around the fact that llvm does not do ipa ra >

[Bug target/107102] SVE function fails to realize it doesn't need the frame-pointer in the tail call.

2025-01-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107102 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/118328] New: Implement preserve_none for AArch64

2025-01-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* We should consider implementing Clang's preserve_none attribute for AArch64 GCC. It should be relatively simple

[Bug rtl-optimization/117938] [15 Regression] wrong code with -O2 --param=max-cse-insns=1 with late-combine (since r15-1735-ge62ea4fb8ffcab)

2025-01-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117938 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/117186] [12/13/14/15 Regression] aarch64 wrong code for (a < b) < (b < a)

2025-01-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #6 from Richard Sandiford --- This seems to go back to r0-29238 [https://gcc.gnu.org/pipermail/gcc-patches/2000-July/033786.html], for which the code now looks like: case COMPARE: /* Convert (compare (gt (flags) 0

[Bug rtl-optimization/117938] [15 Regression] wrong code with -O2 --param=max-cse-insns=1 with late-combine (since r15-1735-ge62ea4fb8ffcab)

2025-01-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #14 from Richard Sandiford --- Testing a patch.

[Bug target/118184] [14 backport] glibc regression on aarch64 due to early_ra deleting movti instruction since r15-5422-g279475fd7236a9

2025-01-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118184 Richard Sandiford changed: What|Removed |Added Summary|[15 regression] glibc |[14 backport] glibc

[Bug target/118184] [15 regression] glibc regression on aarch64 due to early_ra deleting movti instruction since r15-5422-g279475fd7236a9

2024-12-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #9 from Richard Sandiford --- early-ra is missing a check for cases in which a 128-bit value (or larger) is modified at the individual word level.

[Bug tree-optimization/118215] Miss runtime alias check for vectorization

2024-12-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118215 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/118133] Consider alternative ways of writing aarch64-simd-pragma-builtins.def

2024-12-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118133 --- Comment #3 from Richard Sandiford --- The reason I went for m4 is that it means we don't need to write a parser, or come up with a DSL. I was hoping that the scaffolding would be pretty much write-and-forget, with only the main (declarative

[Bug driver/117968] running "cpp" with malformed arguments can cause input file deletion

2024-12-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117968 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/118151] New: Relax the SVE PTEST matching conditions for any/none (ne/eq)

2024-12-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
, missed-optimization Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Target Milestone: --- Target: aarch64

[Bug target/118150] New: Failure to fold NOT+PTEST to NOTS for SVE

2024-12-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* #include int foo (svbool_t x, int y, int

[Bug target/118133] New: Consider alternative ways of writing aarch64-simd-pragma-builtins.def

2024-12-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* Created attachment 59927 --> https://gcc.gnu.org/bugzi

[Bug target/117978] Optimise 128-bit-predicated SVE loads to Advanced SIMD LDRs

2024-12-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117978 --- Comment #3 from Richard Sandiford --- I think this would be better done in expand rather than gimple. The gimple representation would be a vector load in a 128-bit type, followed by a zeroing extension to the original SVE type. I'm not sur

[Bug target/117989] New: aarch64: FMV attaches symvers to the wrong decl

2024-12-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org CC: acarlotti at gcc dot gnu.org, Alfie.Richards at arm dot com Target Milestone: --- For: int f() __attribute__((symver("f@@VERS1.0"))); __attribute__((targ

[Bug middle-end/117987] New: Function multiversioning does not respect decl asms

2024-12-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org CC: acarlotti at gcc dot gnu.org, Alfie.Richards at arm dot com Target Milestone: --- For: int f() asm("foo"); int f() { return 1; } __attribute__((targ

[Bug target/96340] Extend AArch64 "omp declare simd" support to general simdlen

2024-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96340 --- Comment #2 from Richard Sandiford --- (In reply to Andrew Pinski from comment #1) > was this also fixed by r14-6416-gf5fc001a84a7db ? No, it's still unfixed due to: /* We currently do not support generating simdclones where vector argument

[Bug target/117850] GCC emits DUP, UMULL instead of UMULL2

2024-11-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117850 --- Comment #3 from Richard Sandiford --- (In reply to rguent...@suse.de from comment #2) > I dont See how this is easier? It's not to simplify things :) But isn't gimple_fold_builtin restricted to the same search/valueisation domain as match.

[Bug target/117850] GCC emits DUP, UMULL instead of UMULL2

2024-11-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117850 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug rtl-optimization/117838] [12/13/14/15 regression] IRA issues: The higher cost variable a is spilled for the lower cost variable conflict_a in improve_allocation() since r12-6416-g037cc0b4a6646c

2024-11-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Richard Sandiford --- Thanks for the reproducer. I'll try to have a look soon.

[Bug target/107704] [13/14/15 Regression] Testsuite regression after recent DCE changes

2024-11-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107704 --- Comment #9 from Richard Sandiford --- That's because clobbers of hard-coded registers have usually been treated as kind-of an earlyclobbers: - When a @code{clobber} expression for a register appears insid

[Bug rtl-optimization/117297] [15 Regression] late combine undoes too much

2024-11-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117297 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116371] The SME2 svpext intrinsics are missing a _lane suffix

2024-11-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116371 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116629] [14 Regression] Building openvino with -flto ICEs in aarch64_sve::gimple_folder::redirect_pred_x

2024-11-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116629 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/117297] [15 Regression] late combine undoes too much

2024-10-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117297 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/117248] gcc/libgcc/libgcc2.h:232:25: internal compiler error: Arithmetic exception

2024-10-22 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117248 --- Comment #2 from Richard Sandiford --- Also, could you check whether g:9bd19ff515c95af71b29bc6e232785532afa6823 makes a difference?

[Bug target/117169] New: Missed opportunity to combine sign and bitmask tests

2024-10-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* int f1(int x) { return x < 0 || x & 3; } on aarch64 produces: f1: tbn

[Bug rtl-optimization/116550] [lra][avr] internal compiler error: in final_scan_insn_1, at final.cc:2807

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 --- Comment #12 from Richard Sandiford --- (In reply to denisc from comment #4) > Explanation. > […] Thanks for the great explanation! Based on that, the patch LGTM FWIW, although Vlad should have the final say.

[Bug target/55212] [SH] Switch to LRA

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #389 from Richard Sandiford --- (In reply to Oleg Endo from comment #304) > (define_insn "block_lump_real" > [(set (mem:BLK (match_operand:SI 2 "sfunc_arg0_reg" "=r,r")) > (mem:BLK (match_operand:SI 3 "sfunc_arg1_reg" "=r,r

[Bug target/116629] [14 Regression] Building openvino with -flto ICEs in aarch64_sve::gimple_folder::redirect_pred_x

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116629 Richard Sandiford changed: What|Removed |Added Known to work||15.0 Summary|[14/15 Regr

[Bug target/117045] Incorrect fold of SVE's svwhilele

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117045 --- Comment #3 from Richard Sandiford --- Ah, yeah, the patch fixes that too. The easiest fix seemed to be to handle the degenerate cases up-front rather than as part of constant folding. I deliberately left off folding svwhilelt(INT_MAX, x) t

[Bug target/117045] Incorrect fold of SVE's svwhilele

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Last reconfirmed||2024-10-09 --- Comment #1 from Richard Sandiford --- I'll send a patch soon.

[Bug target/117045] New: Incorrect fold of SVE's svwhilele

2024-10-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
y: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* #include #include svbool_t f() { return svwhilele_b8_s32(INT_MAX, INT_MAX); } is folded to: ptrue p0.b

[Bug target/109498] SVE support for ctz

2024-10-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109498 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-10-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116583, which changed state. Bug 116583 Summary: vectorizable_slp_permutation cannot handle even/odd extract from VLA vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 What|Removed

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #10 from Richard Sandiford --- I have a proof-of-concept hack (far from submission quality). But it looks like some cases will also require us to extend aarch64_evpc_reencode to handle SVE modes, which is also worthwhile for its own

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #9 from Richard Sandiford --- Mine. Lets see if I can remember how this “vectoriser” thing works…

[Bug target/116629] [14/15 Regression] Building openvino with -flto ICEs in aarch64_sve::gimple_folder::redirect_pred_x

2024-10-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116629 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #7 from Richard Sandiford --- ...actually, they probably don't need to bijective. I suppose [0, 0] for two-lane SLP is handled too.

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #6 from Richard Sandiford --- Sorry for the slow response (here and in general). Been having to spend my time on other things recently :( I agree that this case is regular enough to handle for VLA, but it seems to me like a separat

[Bug rtl-optimization/116326] [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 --- Comment #8 from Richard Sandiford --- (In reply to Georg-Johann Lay from comment #7) > What about the following line in reload1.h: > > // Used during roload -> LRA transition because ELIMINABLE_REGS may depend > // on command line options.

[Bug rtl-optimization/116326] [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 --- Comment #6 from Richard Sandiford --- (In reply to Georg-Johann Lay from comment #5) > > But either way, I think we should start with the assumption that the entry > > should be removed and make everything else work to that. Unfortunately t

[Bug rtl-optimization/116326] [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 --- Comment #4 from Richard Sandiford --- (In reply to Georg-Johann Lay from comment #3) > It was due to problems with multi-reg frame-pointer. (AFAIR, using a > hard-frame-poiner besides frame-poiner didn't resolve the issues.) > > My problem

[Bug rtl-optimization/116326] [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug rtl-optimization/116516] [15 Regression] [lra] ICE in decompose_normal_address, at rtlanal.cc:6712 by r15-3213-g708ee71808ea61

2024-08-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116516 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116481] [12/13/14/15 Regression] `arrays of functions are not meaningful` error message happens with -W -Wall -O2 even though there are no arrays of function types used

2024-08-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116481 --- Comment #10 from Richard Sandiford --- (In reply to Richard Sandiford from comment #9) > If the tag bit is dropped by going > out of bounds, that's a feature, not a bug, and would happen equally for > void*/char* arithmetic as for (u)intptr_

[Bug tree-optimization/116481] [12/13/14/15 Regression] `arrays of functions are not meaningful` error message happens with -W -Wall -O2 even though there are no arrays of function types used

2024-08-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116481 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug rtl-optimization/116516] [15 Regression] [lra] ICE in decompose_normal_address, at rtlanal.cc:6712 by r15-3213-g708ee71808ea61

2024-08-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #3 from Richard Sandiford --- Gah, mine then.

[Bug fortran/116254] new test case gfortran.dg/class_transformational_2.f90 from r15-2739-g4cb07a38233aad fails

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116254 Richard Sandiford changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/116254] new test case gfortran.dg/class_transformational_2.f90 from r15-2739-g4cb07a38233aad fails

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116254 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug rtl-optimization/116238] [12/13/14 Regression] ICE building 526.blender_r on aarch64 SVE after r15-1619-g3b9b8d6cfdf593

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116238 Richard Sandiford changed: What|Removed |Added Known to fail|15.0|14.2.1 Summary|[12/13/14

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #17 from Richard Sandiford --- Hmm, but if the ICE is coming from vregs then it doesn't sound like it's related to LRA. vregs is the first RTL pass to run.

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #14 from Richard Sandiford --- Created attachment 58967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58967&action=edit Patch for the decompse_mem_address ICE Thanks. Can you try the attached patch?

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #11 from Richard Sandiford --- I can't reproduce this with m68k-elf. Do you have any local changes beyond making TARGET_LRA_P return true?

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug rtl-optimization/116238] [15 Regression] ICE building 526.blender_r on aarch64 SVE after r15-1619-g3b9b8d6cfdf593

2024-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #5 from Richard Sandiford --- Yeah, seems to be a latent bug in aarch64_hard_regno_caller_save_mode. A brute-force reproducer is: void foo(); typedef unsigned char v2qi __attribute__((vector_size(2))); void f(v2qi *ptr

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/115683] [15 Regression] SSE2 regressions after obselete of vcond{,u,eq}.

2024-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115683 --- Comment #8 from Richard Sandiford --- (In reply to Uroš Bizjak from comment #7) > Richi, maybe tree optimizers can perform their optimizations with > vec_cmp{,u} and vcond_mask, and at the end provide the true coditional > vector move (that

[Bug target/114603] aarch64: Invalid SVE cnot optimisation

2024-08-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114603 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/114607] aarch64: Incorrect expansion of svsudot

2024-08-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114607 Richard Sandiford changed: What|Removed |Added Known to work||12.4.1, 13.3.1, 14.1.0,

[Bug target/115464] [14 Backport] ICE when building libaom on arm64 (neon sve bridge usage with tbl/perm)

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/113939] Switch m68k to LRA

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Bug 113939 depends on bug 116236, which changed state. Bug 116236 Summary: [LRA] [M68K] ICE insn does not satisfy its constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 What|Removed |Added

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116343] [15 regression] ICE on valid code at -Os with "-fschedule-insns -fno-thread-jumps -fno-dce" on x86_64-linux-gnu: in extract_insn, at recog.cc:2869

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116343 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #22 from Richard Sandiford --- (In reply to Michael Matz from comment #21) > (In reply to Richard Sandiford from comment #17) > > > But if LRA needs to be extended for correctness, then, ... meh. > > But this is how it's always worke

[Bug target/116371] The SME2 svpext intrinsics are missing a _lane suffix

2024-08-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116371 --- Comment #2 from Richard Sandiford --- Fixed on trunk. I'll wait a bit before backporting.

[Bug target/116371] The SME2 svpext intrinsics are missing a _lane suffix

2024-08-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116371 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/116371] New: The SME2 svpext intrinsics are missing a _lane suffix

2024-08-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* The intrinsics for PEXT are supposed to be called svpext_lane_cN and svpext_lane_cN_x2, but

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #19 from Richard Sandiford --- Of course, immediately after posting I realise it should be address_mode instead of pointer_mode, but that shouldn't affect m68k.

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #18 from Richard Sandiford --- Created attachment 58927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58927&action=edit Candidate patch Could you try the attached patch? It seems to fix the reduced testcase for me.

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #17 from Richard Sandiford --- (In reply to Michael Matz from comment #16) > (In reply to Richard Sandiford from comment #15) > > > Yes, I considered adding this handling of (zero_extend Rx) to LRA. I'

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #15 from Richard Sandiford --- (In reply to Michael Matz from comment #14) > (In reply to Richard Sandiford from comment #13) > > (In reply to Michael Matz from comment #12) > > > That's why I struggle a bit, I lack the bigger pictur

[Bug target/116343] [15 regression] ICE on valid code at -Os with "-fschedule-insns -fno-thread-jumps -fno-dce" on x86_64-linux-gnu: in extract_insn, at recog.cc:2869

2024-08-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #5 from Richard Sandiford --- Argh, substituting into the REG_EQUAL note is causing INSN_CODE to be reset. Testing a patch…

[Bug target/116343] [15 regression] ICE on valid code at -Os with "-fschedule-insns -fno-thread-jumps -fno-dce" on x86_64-linux-gnu: in extract_insn, at recog.cc:2869

2024-08-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116343 --- Comment #4 from Richard Sandiford --- (In reply to Andrew Pinski from comment #3) > Note I think late_combine 1 depends on DCE later on to delete the > noop_move_p instructions but since -fno-dce was passed on the command line, > it is not d

[Bug target/116312] Use LDP instead of LD2 on for Advanced SIMD when possible

2024-08-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116312 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug other/30920] Incorrect splaying that fails to assure the caching property

2024-08-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30920 --- Comment #8 from Richard Sandiford --- The patch in comment 7 is just one step.

[Bug target/116145] SVE constant pool loads not hoisted outside loops

2024-08-05 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Richard Sandiford changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug rtl-optimization/116200] [15 regression] ICE in stage 2 since r15-2696-gba730fd10934e4

2024-08-05 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116200 Richard Sandiford changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/30920] Incorrect splaying that fails to assure the caching property

2024-08-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30920 Richard Sandiford changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/116145] SVE constant pool loads not hoisted outside loops

2024-08-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116145] Suboptimal SVE immediate synthesis

2024-07-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/116145] Suboptimal SVE immediate synthesis

2024-07-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/116109] Missed optimisation: unnecessary register dependency on reduction

2024-07-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116109 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

  1   2   3   4   5   6   7   8   9   10   >