avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] memcpy


From: Wynand Weyers
Subject: RE: [avr-gcc-list] memcpy
Date: Tue, 1 Apr 2008 08:12:58 +0200

Hi David,

Thanks for the reply,

I use quite a lot of memcpy function calls and if I look at the assembler
the memcpy is code is copied inline for each call which make my code quite
large.

I wrote my own to solve the problem, it might not be so efficient as memcpy
but that's ok.

Thanks
Wynand

-----Original Message-----
From: David Kelly [mailto:address@hidden 
Sent: 29 March 2008 05:21 PM
To: Wynand Weyers
Cc: AVR-GCC
Subject: Re: [avr-gcc-list] memcpy


On Mar 29, 2008, at 4:58 AM, Wynand Weyers wrote:
> How do I get memcpy not to compile inline?

Write your own? Its not that hard.

Or make a copy of the existing memcpy() in your project and remove  
the inline directive?

Looking at avr-libc-1.6.1/libc/string/memcpy.S I don't understand  
your question. memcpy() isn't an inline function, its a called  
function like most everything else.

--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.



This message was checked by MailScan for WorkgroupMail.
www.workgroupmail.com 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]