[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Smoking gun: NetBSD 6.0.1 userland instability
-----BEGIN PGP SIGNED MESSAGE-----
On Mar 7, 2013, at 11:28 AM, David Riley wrote:
On Mar 7, 2013, at 11:25 AM, Donald Lee wrote:
In the old days, I would just use "-g", and presume that the
was disabled, but modern compilers don't do that any more. They
reportedly try to optimize more often, even when not necessarily
The only thing -g should do is enable debugging symbols; it doesn't
generally have an effect on optimization. Perhaps you mean -O0?
I believe there's also a -mno-altivec switch, but I think that
might only disable use of AltiVec intrinsics (i.e. I have no idea
if it affects automatic vectorization).
Not quite. If you build for an altivec-capable CPU ( -mcpu=74xx or
something ) gcc will output altivec instructions for things like
inlined memcpy(). -mno-altivec prevents that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: GPGTools - http://gpgtools.org
-----END PGP SIGNATURE-----
Main Index |
Thread Index |