On Wed, Mar 30, 2016 at 07:13:49PM +0200, wbon...@theitmakers.com wrote: > Yes, that's what i mean. "-mno-altivec" and maybe some other > "-mno-something" flags, so it could run on any PPC64 cpu, even if it does > not have altivec/vmx, or if it does not have the optional opcodes of the > PPC64 standard (like fsqrt). > > The packages currently available from the ports repo do not run on every > PPC64 cpu. Even packages recompiled with the "-mno-altivec" flag contain > binaries with optional opcodes.
What is the CPU gcc is targeting on ppc64 at the moment? One would hope that if the default is set correctly gcc wouldn't generate any such optional instructions, except when people use assembly directly of course. -- Len Sorensen