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, likeIn 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.
Paolo