[Bug rtl-optimization/66552] Missed optimization when shift amount is result of signed modulus
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 21 01:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66552
--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Trunk does (both -m32 and -m64)
srawi 9,4,5
addze 9,9
slwi 9,9,5
subf 4,9,4
srw 3,3,4
and
rlwinm 4,4,0,27,31
srw 3,3,4
so the original problem is still there.
More information about the Gcc-bugs
mailing list