svn commit: r217033 - in head: lib/libstand sys/boot/ficl sys/boot/i386 sys/boot/pc98 sys/boot/zfs sys/conf

Dimitry Andric dim at FreeBSD.org
Thu Jan 6 09:42:41 UTC 2011


On 2011-01-06 00:14, Ivan Voras wrote:
>>     -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
> I'm late to the party - but is there any hope of centralizing these
> and then doing something like "CFLAGS += ${CC_NO_FP}" ?

Yeah, that is the next step.  First I wanted to get all the flags the
same.

Btw, this is not only about "no floating point", as SSE instructions can
be used for other things (memset, memcpy, etc) too.  So "NO_FP" is
misleading in my opinion, but it seems to be what most people want.


> As soon as we
> get a newer compiler someone will have to add -mno-sse4 to the list
> (if not already with clang...).

For clang, we should add the following, if we want to be very cautious:

-mno_aes -mno_avx -mno_sse4 -mno_sse4_1 -mno_sse4_2 -mno_sse4a -mno_ssse3


More information about the svn-src-head mailing list