public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] memmove?
@ 2001-06-06 12:20 Hiroshi Lockheimer
  2001-06-07  9:11 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi Lockheimer @ 2001-06-06 12:20 UTC (permalink / raw)
  To: ecos-discuss

Hi there,

There appears to be an optimized (for speed) version of memcpy in infra,
but nothing for memmove (I've only been able to find memmove in libc).  

Just curious if there's a reason for this?  Any pointers on where I can
get a fast memmove?

Thanks,
Hiroshi  


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] memmove?
  2001-06-06 12:20 [ECOS] memmove? Hiroshi Lockheimer
@ 2001-06-07  9:11 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-06-07  9:11 UTC (permalink / raw)
  To: Hiroshi Lockheimer; +Cc: ecos-discuss

Hiroshi Lockheimer wrote:
> 
> Hi there,
> 
> There appears to be an optimized (for speed) version of memcpy in infra,
> but nothing for memmove (I've only been able to find memmove in libc).
> 
> Just curious if there's a reason for this?  Any pointers on where I can
> get a fast memmove?

memcpy is in infra because it's needed all the time. Both memcpy and
memmove are as optimized as the other.

You'll find that the compiler will frequently supply its own version of
memmove anyway - it is a gcc builtin. This version tends to be highly
optimized for the architecture.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-07  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-06 12:20 [ECOS] memmove? Hiroshi Lockheimer
2001-06-07  9:11 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).