Need help with -m68060 switch on egcs-1.1b
Wed Dec 2 06:17:00 GMT 1998

On Wed, 2 Dec 1998, Jyrki O Saarinen wrote:

> > I agree that this is undesirable behavior on an embedded system and should
> > be reported.  
> > 
> > So this is a bug in gcc 2.x, not in egcs, right?
> 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.


New CrossGCC FAQ:
To remove yourself from the crossgcc list, send
mail to with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list