no mul/div instruction

Ian Lance Taylor iant@google.com
Wed Apr 23 04:46:00 GMT 2008


"Kunal Parmar" <kunalparmar@gmail.com> writes:

>>  Yes, I think __mulsi3 will be built for you automatically.
>
> I gave a definition of __mulhi3 for my architecture. But I don't get
> __mulsi3 in libgcc.a. Do I have to enable some options for this ?

Looking at libgcc2.h, it seems like you might need to define
LIBGCC2_UNITS_PER_WORD in your tm.h file.

Ian



More information about the Gcc mailing list