[PATCH] powerpc: Always use -mno-string

Segher Boessenkool segher at kernel.crashing.org
Thu Mar 22 23:06:06 EST 2007


> Ok, let's keep load/store multiple, they are only used on 32 bits
> and are actually useful. string instructions are not though.

Sure they are.  They are used for 64-bit integers (and
structs) on lots of 32-bit code compiled by GCC.  As long
as they are 32-bit aligned, they aren't slow on e.g. PPC750
either.

Just tell GCC what CPU model you want to compile for and
it will try to do the best thing.  Don't actively work
against it :-)


Segher




More information about the Linuxppc-dev mailing list