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]

no mul/div instruction


Hi all,

I am porting GCC to a new 16 bit RISC architecture which does not have
multiplication and division instructions. I figured that I have to provide
emulation routines for the multiplication and division which will be
inserted into libgcc2.a. But I am confused about which versions of these
routines to provide i.e. do I provide __mulsi3 or __mulhi3 or both.

Thanks in advance,
Kunal


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