On 2011-01-05 15:50, Nathan Whitehorn wrote:
You would also want this to be cross-platform, in which case it's more than floating point. E.g. on powerpc, you also want to disable both FP and vector extensions, which use separate sets of instructions and registers.
Yeah, but in any case, hacking the compiler itself is not the proper way to achieve this goal, IMHO. It should go into sys.mk, or more appropriately bsd.cpu.mk. I'll make a crude diff for this tonight.
I guess overriding CPU type to be something very old (386?) potentially deoptimizes the code?
That won't work for amd64. :) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"