This site is no longer active and is available for archival purposes only. Registration and login is disabled.

2,5x faster memcpy routine for MIPS devices


2,5x faster memcpy routine for MIPS devices

Postby Guest » Jan 5, 2003 @ 3:47am

Guest
 


Postby angedelamort » Jan 6, 2003 @ 6:55pm

User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby Deje » Jan 6, 2003 @ 7:28pm

Deje
pm Member
 
Posts: 37
Joined: Oct 15, 2002 @ 10:08pm
Location: Germany


Postby Guest » Jan 6, 2003 @ 9:00pm

Guest
 


Postby brendan » Jan 7, 2003 @ 12:22am

User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


Postby Digby » Jan 7, 2003 @ 12:52am

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby Deje » Jan 7, 2003 @ 1:27am

Deje
pm Member
 
Posts: 37
Joined: Oct 15, 2002 @ 10:08pm
Location: Germany


Postby Sergey Chaban » Jan 7, 2003 @ 9:01am

I don't know about MIPS, but ARM & SH compilers indeed inline the function if count param for memcpy is constant and small enough (and intrinsic option is enabled).
"Small enough" is like this:
For ARM: count <= 8
For SH: count < 16
But generated code copies data byte by byte (ldrb/strb or mov.b), i.e. compiler makes no assumptions about src/dest alignment.

SC
Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby pazazzo » Jan 7, 2003 @ 10:43am

pazazzo
 


Postby Sergey Chaban » Jan 7, 2003 @ 12:37pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby Guest » Jan 7, 2003 @ 10:53pm

Guest
 


Postby Dave H » Jan 9, 2003 @ 2:02am

Ah the golden days of computing are back :D

* Smiles from ear to ear *

The perfect antidote to all this Java programming ;)
Dave H.
Lead Programmer (Repton PPC/7650)
[url=http://www.handango.com/PlatformProductDetail.jsp?productId=43741]
Buy Repton Online here!
[/url]
User avatar
Dave H
pm Member
 
Posts: 164
Joined: Oct 3, 2002 @ 5:01pm


Postby Digby » Jan 9, 2003 @ 5:05am

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby brendan » Jan 13, 2003 @ 3:30am

User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


Postby Dan East » Jan 13, 2003 @ 5:28am

You aren't trying to do inline assembly for an ARM build are you?

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron