"Kunal Parmar" <[EMAIL PROTECTED]> writes: > On Tue, Apr 22, 2008 at 1:24 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: >> It depends on UNITS_PER_WORD. If UNITS_PER_WORD is 4, you need >> __mulsi3. If UNITS_PER_WORD is 2, you need __mulhi3, and, if you have >> 32-bit integer types, you will also need __mulsi3. In the latter case >> you can, if you like, get code for __mulsi3 from longlong.h--see the >> comments at the top of the file. > > UNITS_PER_WORD is 2 and INT_TYPE_SIZE is 16. This means I need to > provide __mulhi3. Does this mean that libgcc will provide the definition of > __mulsi3 ?
Yes, I think __mulsi3 will be built for you automatically. Ian