[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2022-05-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com Targe

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:71c8aaf29bb122ebe5e67c84903fd23ff05f04ec commit r12-140-g71c8aaf29bb122ebe5e67c84903fd23ff05f04ec Author: Jakub Jelinek Date: Tue

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 Bug 99405 depends on bug 99396, which changed state. Bug 99396 Summary: std::rotl and std::rotr Does not convert into ROTATE on the gimple level https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 What|Removed |

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #6 from cqwrteur --- (In reply to Jakub Jelinek from comment #5) > The valid C code if it is correct without UB and is pattern matched is > definitely better than some intrinsics, it is portable and can be optimized > generally sooner

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #5 from Jakub Jelinek --- The valid C code if it is correct without UB and is pattern matched is definitely better than some intrinsics, it is portable and can be optimized generally sooner and better than the intrinsics. Just be warn

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #4 from cqwrteur --- (In reply to Jakub Jelinek from comment #3) > Created attachment 50307 [details] > gcc11-pr99405.patch > > No particular reason, it just feeled weird to have constraints on pre-reload > splitters. > > Anyway, I'

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 Jakub Jelinek changed: What|Removed |Added Attachment #50306|0 |1 is obsolete|

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #2 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #1) > Created attachment 50306 [details] > gcc11-pr99405.patch > > Untested fix. - (match_operand:SI 2 "register_operand" "c") + (match_operand:

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever