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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to