[Bug target/32593] Missed optimization of 'y = constant - x' operation
astrange at ithinksw dot com
gcc-bugzilla@gcc.gnu.org
Sat Feb 16 18:17:00 GMT 2008
------- Comment #3 from astrange at ithinksw dot com 2008-02-16 18:16 -------
Also, 'x >> 32 - y' can be transformed into 'x >> -y', since x86 only uses the
lowest 5 bits. I'm not sure about other targets.
Messing with the backend doesn't seem very popular these days. I guess I should
figure out how those parts work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32593
More information about the Gcc-bugs
mailing list