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]

arm-elf-gcc memcpy builtin?


It appears that our embedded ARM7 application is spending a
significant amount of time is being spent inside memcpy.  I've
tried everything I can think of to get gcc to use builtin
memcpy code, but it just won't.

I've tried various values of -O, I've added -fbuiltin, I've
even tried explictly calling __builtin_memcpy().  Nothing
works.  No matter what I do, gcc just loads up the parameters
and makes a call to memcpy().

Does the ARM back end not know how to do a built-in memcpy?

$ arm-elf-gcc -v
Reading specs from /usr/local/lib/gcc-lib/arm-elf/2.95.2/specs
gcc version 2.95.2 19991024 (release)

-- 
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]