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

Segher Boessenkool segher at kernel.crashing.org
Thu Mar 22 03:21:32 EST 2007


>> Can I recommend that just like -mno-altivec is added, -mno-string is
>> added to make file to make sure that the string instructions are not
>> emitted if someone supplies -Os.
>
> Makes sense, especially since some of the freescale chips take a 0x700
> on string instructions.

In that case, you either should compile your user-space
app with the right flags for your processor, or just have
the kernel emulate these (optional) insns.

The case at hand here is an application that accesses CI
memory -- not a normal thing to do, needing extra compiler
flags is acceptable for this case.


Segher




More information about the cbe-oss-dev mailing list