------- Additional Comments From phython at gcc dot gnu dot org 2005-08-14 21:56 ------- Actually, doing (a >> c1) & 2**c2 -> (a & (1<<c1+c2)) >> c1 looks worse, but can be transformed into (a & (1<<c1+c2)) CMP c3 << c1. However, I haven't figure out the details of the second transformation. There is a bug about it though.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21137