[Bug target/101200] Unneeded AND after shift

2021-06-29 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #7 from Jeffrey A. Law --- FWIW, it might be worth considering using a mode iterator for the shift count to allow multiple modes.

[Bug target/101200] Unneeded AND after shift

2021-06-25 Thread steinar+gcc at gunderson dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #6 from Steinar H. Gunderson --- You're right, I don't know why the shrq happened. When I run now, I get shrb. Doesn't matter for the bug, though.

[Bug target/101200] Unneeded AND after shift

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #5 from Jakub Jelinek --- BTW, I certainly can't reproduce what #c0 shows, while I see movzbl in there because QImode loads are done that way in most tunings, I certainly see shrb$4, %al rather than 64-bit right shift.

[Bug target/101200] Unneeded AND after shift

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,