[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2024-05-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #11 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:79649a5dcd81bc05c0ba591068c9075de43bd417 commit r15-222-g79649a5dcd81bc05c0ba591068c9075de43bd417 Author: Roger Sayle Date: Tue M

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

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

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #9 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:6a67fdcb3f0cc8be47b49ddd246d0c50c3770800 commit r14-7026-g6a67fdcb3f0cc8be47b49ddd246d0c50c3770800 Author: Roger Sayle Date: Tue J

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #8 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:be0ff0866a6f072ccfbbb3a3c2079adf1db51aa1 commit r14-6534-gbe0ff0866a6f072ccfbbb3a3c2079adf1db51aa1 Author: liuhongt Date: Wed Dec

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #7 from Hongtao Liu --- (In reply to Hongtao Liu from comment #6) > > Thoughts? Apologies if this is a dup. I'm happy to work up a patch if > > someone could advise on where best this should be fixed. Perhaps RTL's > > vec_duplica

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #6 from Hongtao Liu --- > Thoughts? Apologies if this is a dup. I'm happy to work up a patch if > someone could advise on where best this should be fixed. Perhaps RTL's > vec_duplicate could be canonicalized to the most appropriat

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #5 from Hongtao Liu --- (In reply to Roger Sayle from comment #0) > The following four functions should in theory all produce the same code: > > typedef unsigned long long v4di __attribute((vector_size(32))); > typedef unsigned int

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #4 from Hongtao Liu --- (In reply to Hongtao Liu from comment #3) > I think we need to also guard SImode and DImode case under AVX2 when > MODE_SIZE==256. Since there's vbroadcastss only support m alternative under avx

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Using -mtune=intel, fooq does not use a stack location ... See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78954#c2 for the reasoning on that.

[Bug target/112992] Inefficient vector initialization using vec_duplicate/broadcast

2023-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992 --- Comment #1 from Andrew Pinski --- Using -mtune=intel, fooq does not use a stack location ...