[Cbe-oss-dev] GCC inline memcpy() from local store causes bad page fault

Segher Boessenkool 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 
> those
> Benjamin> string instructions was deprecated a long time ago for 
> performance
> 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 
> choice.
> -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 :-)


Segher




More information about the cbe-oss-dev mailing list