Dear all,
Overall, I think the WIP new if converter is holding up
relatively well, but there is obviously opportunity to do better,
at least if the numbers mean what they look like they mean,
i.e. the old converter`s code was fully OK and so is the new one`s.
By "fully OK" I mean e.g. no crashing
Snapshot gcc-4.9-20150812 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20150812/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.9 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
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
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.