[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #10 from GCC Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:fb067547e401940b433cf0d2ae30749b4c21492e commit r12-10570-gfb067547e401940b433cf0d2ae30749b4c21492e Author: Matthias Kre

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:26113c278069e7e58f5e4149ef86a30c043b262f commit r13-8839-g26113c278069e7e58f5e4149ef86a30c043b262f Author: Matthias Kretz

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:ff4646793f2805f0c66705469becdfdd4b5356d1 commit r14-10294-gff4646793f2805f0c66705469becdfdd4b5356d1 Author: Matthias Kret

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-29 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #7 from Matthias Kretz (Vir) --- the regression is now PR115247

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-15 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #6 from Matthias Kretz (Vir) --- The last commit introduced a regression on i686 where __builtin_shufflevector was producing MMX vectors (which can mess up the FPU). Untested patch which resolves the issue: libstdc++-v3/ChangeLog:

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #5 from GCC Commits --- The master branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:fb1649f8b4ad5043dd0e65e4e3a643a0ced018a9 commit r15-429-gfb1649f8b4ad5043dd0e65e4e3a643a0ced018a9 Author: Matthias Kretz Date:

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #4 from Jakub Jelinek --- Strange, the __builtin_shufflevector in GCC has been added for Clang compatibility. __builtin_shuffle is the original native GCC builtin (which Clang doesn't implement).

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-06 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 --- Comment #3 from Matthias Kretz (Vir) --- Hmm, it actually fails on Clang because Clang requires the vector width of both arguments to be equal. But yes, I guess I should make __vec_shuffle friendlier to non-GCC compilers. I'm not sure about

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations

2024-05-06 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958 Matthias Kretz (Vir) changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0