
Posted:
Jan 7, 2003 @ 9:01am
by Sergey Chaban
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

Posted:
Jan 9, 2003 @ 2:02am
by Dave H
Ah the golden days of computing are back :D
* Smiles from ear to ear *
The perfect antidote to all this Java programming ;)

Posted:
Jan 13, 2003 @ 5:28am
by Dan East
You aren't trying to do inline assembly for an ARM build are you?
Dan East