svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386

Dimitry Andric dim at FreeBSD.org
Wed Jan 5 15:04:44 UTC 2011


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. :)


More information about the svn-src-all mailing list