This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Nov 05, 2002 at 09:52:23AM -0600, Joel Sherrill wrote: > > The next option is to re-write the memcpy function in assembly > > and tweak every last bit of performance out of it I can. > > NetBSD has a good arm memcpy but it has an advertising clause > and can't be included in newlib. A good implementation which > does not include an advertising clause would be welcomed. After about an hour of messing about in assembly language, I haven't been able to beat the C-language memcpy that comes with eCos [which is what I'm using now]. I've only been doing byte transfers and haven't been checking alignment. By doing word transfers for aligned copies, I think I can beat the eCos memcpy (but probably not by much). inlining the function might help -- haven't tried that. -- Grant Edwards grante@visi.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |