Hi!

All compilers can replace multiplication operation by bit shifts and LEA x86 
instruction
(if current target arch is x86).
Can I ask, where in GCC this happens? I can't find it in source code.

See gcc/expmed.c, search for "choose_mult_variant".

HTH
Alan

Reply via email to