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