[Bug tree-optimization/102435] gcc 9: aarch64 -ftree-loop-vectorize results in wrong code

2024-10-09 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102435 Robert Hardwick changed: What|Removed |Added CC||Robert.Hardwick at arm dot com --- Co

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-09 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #6 from Robert Hardwick --- 've done some more tests and it seems to affect 12.4.X, 11.4.X, 10.2.X I can confirm that behaviour is correct in 13.3.0

[Bug tree-optimization/102435] gcc 9: aarch64 -ftree-loop-vectorize results in wrong code

2024-10-09 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102435 --- Comment #5 from Robert Hardwick --- Apologies. I can't delete previous comments. That comment was meant for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 If anybody can delete my comment above please do.

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #5 from Robert Hardwick --- Not working on 11.4.0, i'll try 11.5.0 as you suggest. $ g++ --version g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 g++ -O3 -march=armv8.2-a+sve test.cpp -o test $:~/tools/pytorch/pytorch/argmin_test$ ./te

[Bug c++/117001] New: O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 Bug ID: 117001 Summary: O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: n

[Bug c++/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #1 from Robert Hardwick --- Apolgies, i've got that the wrong way around. With -O3 -fno-tree-loop-vectorize -march=armv8.2-a+sve output is CORRECT [0, 0, 0, 1, 0, 1, 1, 0] with -O3 -march=armv8.2-a+sve output is INCORRECT [0, 0,

[Bug c++/117161] internal compiler error: in vect_get_vector_types_for_stmt, at tree-vect-stmts.c:12252 on gcc 10.2 for aarch64+sve

2024-10-15 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117161 --- Comment #1 from Robert Hardwick --- Created attachment 59354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59354&action=edit Preprocessed source stored into /tmp/ccEF5DEn.out file, please attach this to your bugreport.

[Bug c++/117161] New: internal compiler error: in vect_get_vector_types_for_stmt, at tree-vect-stmts.c:12252 on gcc 10.2 for aarch64+sve

2024-10-15 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117161 Bug ID: 117161 Summary: internal compiler error: in vect_get_vector_types_for_stmt, at tree-vect-stmts.c:12252 on gcc 10.2 for aarch64+sve Product: gcc Version: