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

Dimitry Andric dim at FreeBSD.org
Wed Jan 5 13:36:07 UTC 2011


On 2011-01-05 13:59, John Baldwin wrote:
>> Why not to add NO_HWFLOAT knob (or similar) into makefile
>> infrastructure. And set CFLAGS accordingly, depending on CC, arch, etc.
>> These flags are getting rather common in tree.
>
> It strikes me that we really want clang/gcc to have some sort of
> '-mno-hwfloat' so we don't keep having to add new flags in the future.

This is not just about floats, clang can also use SSE/AVX instructions
for e.g.  memset(), memcpy() and the like, or even for structure
assignments.

As I replied to Alexander, it's probably better to just put such "lowest
common denominator for an arch" flags into sys.mk or bsd.cpu.mk.


More information about the svn-src-all mailing list