[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2019-11-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu May 17 10:07:12 2018 New Revision: 260313 URL: https://gcc.gnu.org/viewcvs?rev=260313&root=gcc&view=rev Log: PR target/85323 * config/i386/i386.c (ix86_fold_builtin):

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu May 17 10:01:33 2018 New Revision: 260312 URL: https://gcc.gnu.org/viewcvs?rev=260312&root=gcc&view=rev Log: PR target/85323 * config/i386/i386.c (ix86_fold_builtin):

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu May 17 09:54:36 2018 New Revision: 260311 URL: https://gcc.gnu.org/viewcvs?rev=260311&root=gcc&view=rev Log: PR target/85323 * config/i386/i386.c: Include tree-vector-

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #4 from Jakub Jelinek --- If you mean adding if (__builtin_constant_p (__B) && __B == 0) return __A; and similar to all the various intrinsics, then that is not the right thing to do, it will make the headers much larger and even the

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-11 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 Julia Koval changed: What|Removed |Added CC||julia.koval at intel dot com --- Comment #

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-10 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #1 from Matthias Kretz --- Created attachment 43898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43898&action=edit idea for a partial solution Constant propagation works using the built in shift operators. At least for the sh