This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Need help with -m68060 switch on egcs-1.1b



> > Right, egcs doesn't use 32x32->64 muls for int-int muls. I wonder
> > why gcc did that.. wastes one register for the upper 32 bits of the
> > result for nothing. This would be different:
> > 
> > long long result = (long long)(a * b);
> > /* a, b are ints */
> 
> It also makes it impossible to look at a piece of code and say
> definitively that it does not use the FPU.

Using the fpu for integer muls/divs is against C standard, isn't it? 


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.