This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: General information on Hitachi SH math performance
- To: Giulix <giuliano dot to at tin dot it>
- Subject: Re: General information on Hitachi SH math performance
- From: tm <tm at kloo dot net>
- Date: Fri, 17 Aug 2001 19:31:23 -0700
- Cc: newlib at sources dot redhat dot com
- References: <009501c124b0$ff08dee0$7aa72dd5@343>
Giulix wrote:
>
> Dear Jeff Johnston,
> I'm a software developer from Italy. From many years I have developed
> embedded seftware, many of it for Hitachi microprocessor. After use
> commercial design environments now I'm looking on OpenSource projects.
> I have tryed to migrate from my commercial design environment (www.ghs.com
> MULTI 2000 for hitach SH series) to GNU gcc cross compiler. The benchmark
> indicate that the performance of compiler are good. Not is the same for the
> math functions. Integet and float math is slow.
> I have experience in assembly code. Could I increase performance of
> mathematical funcions for SH in newlib ? Unfurtunally I don't know the
> newlib structure and the internal new lib function structure. Is there any
> documentation ?
> Besr regards
> Giulix
You didn't mention which SH family part you are using, but you may want
to check
if you are using the correct libgcc.a for your version of the SH
processor.
There are different versions built for the SH1, SH2, SH3, SH3E, SH4,
SH4-single,
and Sh4-single-only ABIs.
Toshi