[Cbe-oss-dev] GCC inline memcpy() from local store causes bad page fault
segher at kernel.crashing.org
Thu Mar 22 03:23:59 EST 2007
> Benjamin> This will also cause problems with userland. I though use of
> Benjamin> string instructions was deprecated a long time ago for
> Benjamin> reasons anyway ... I'm surprised gcc still generates them.
> I'm not sure what you mean by "deprecated". They are part of the
> PowerPC UISA. If one is worried about code size, they are a good
> -Os means optimize for size.
In many cases it isn't a performance hit either. Well
you might not want to have string insns in your hot loops,
on certain processors :-)
More information about the cbe-oss-dev