This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no mul/div instruction


"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


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