[Bug target/115611] New: mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-06-24 Thread avieira at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: avieira at gcc dot gnu.org Target Milestone: --- When compiling: $ cat t.s #include int64x2_t fn (int64x2_t v, int64_t a) { return vsetq_lane_s64(a, v, 1); } compiled with

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #1 from avieira at gcc dot gnu.org --- Had a look at this and I see similar codegen for aarch64 when compiling for big-endian. If I disable tree-ifcvt (-fdisable-tree-ifvt) I end up with: MEM [(void *)Ptr.0_1] = 30071062528

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-08 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #5 from avieira at gcc dot gnu.org --- I checked it locally and Pinski's recommended change does seem to fix the codegen for this case. I end up with: MEM [(void *)Ptr.0_1] = { 7, 6291456 }; I am regression testing the chang

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-09 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #7 from avieira at gcc dot gnu.org --- My aarch64_be-none-elf regression testing also came back with no new failures. @Pinski: given it was your suggestion do you want the commit? ;)

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #5 from avieira at gcc dot gnu.org --- Posted a fix, I believe it's related to the fact that for the cases where we were using noce before, it was using the default hook to do a cost check, my patch blankly approved those, thi

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #4 from avieira at gcc dot gnu.org --- No hadn't seen that yet. Will look at it thanks!

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug target/114801] [14/15 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

2024-11-01 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114801 --- Comment #38 from avieira at gcc dot gnu.org --- > At least if the behavior is either perform the operation on all elements and > then based on the 16 bits in the predicate choose result between the newly > computed result and somet

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-11-22 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 avieira at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/111263] test case gfortran.dg/ieee/comparisons_3.F90 fails

2024-11-27 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111263 avieira at gcc dot gnu.org changed: What|Removed |Added Target|powerpc64-linux-gnu,|powerpc64-linux-gnu

[Bug middle-end/116997] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-11-20 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 avieira at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Known to fail

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

2024-11-20 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116997, which changed state. Bug 116997 Summary: Wrong bitfield accesses since r13-3219-g25413fdb2ac249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 What|Removed |Added --

[Bug target/111263] test case gfortran.dg/ieee/comparisons_3.F90 fails

2024-11-27 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111263 --- Comment #4 from avieira at gcc dot gnu.org --- I've added arm-none-linux-gnueabihf to the target list there, but I'm wondering whether we should have a separate bugzilla given it's likely this is a target issue as Andrew point

[Bug target/111263] test case gfortran.dg/ieee/comparisons_3.F90 fails

2024-11-27 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111263 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug target/116445] gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization

2025-01-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445 --- Comment #4 from avieira at gcc dot gnu.org --- Good point Kyrill! I was just merely comparing m3 to m55 but yes you are right, with low overhead loops you don't need the r3 count... But -O2 also removes the r3, seems it does it at u

[Bug target/116445] gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization

2025-01-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug rtl-optimization/116479] [15/16 Regression] wrong code with -O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924876 on aarch64 since r15-1447-g5d0c1b

2025-04-22 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479 avieira at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |avieira at gcc dot

[Bug lto/63215] LTO causes symbols for builtin functions to be omitted from object files

2025-04-16 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63215 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug tree-optimization/118976] [12/13/14/15 regression] Correctness Issue: SVE vectorization results in data corruption when cpu has 128bit vectors but compiled with -mcpu=neoverse-v1 (which is only f

2025-02-26 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118976 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

<    1   2   3