This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: mulsi3 and other inbuilt functions


Thanks for the tip.
I am currently using a pre-compiled m68k-coff egcs-1.1.2 with newlib-1.8.1
under cygwin. The binary distribution didn't seem to come with a libgcc! I
guess I shall have to try and rebuild it again from the sources...last time it
had a problem with libiberty (what *is* that anyhow?)...

"Michael K. Elwood" wrote:

> >Where is the function mulsi3 hidden? I am compiling with an m68k cross
> >gcc and anytime I put a multiply in my code the compiler generates a
> >call to this mysterious function. Anyone know 1) where it is 2) why it's
> >not 'in-lined' by the code generator and 3) what other special functions
> >like this there are hard coded into the compiler...
>
> mulsi3 is in libgcc, where the "helper functions" for the compiler live. It
> can be quite substantial on many processors (I'm not familiar with the
> m68k), so inlining may not always be desirable. Try listing symbols in
> libgcc.a with nm if you are curious about the other goodies in there.
>
> Hope this helps.
>
> Best regards,
>
> MKE
>
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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