On Thu, May 27, 2010 at 1:37 PM, Paolo Bonzini <bonz...@gnu.org> wrote: > On 05/27/2010 12:33 PM, Amker.Cheng wrote: >> >> while GCC3.4.4 treats the long long multiplication just like simple >> ones, which generates only one >> mult insn for each statement, like >> >> In my understanding, It‘s not necessary using three mult insn to implement >> long long mult, since the operands are converted from int type. > > This is more helpful. It is a known case in which GCC 4.x generates worse > code.
Should be fixed with 4.6. Richard. > Paolo >