svn commit: r323188 - stable/11/lib/libcompiler_rt
Dimitry Andric
dim at FreeBSD.org
Tue Sep 5 17:12:16 UTC 2017
Author: dim
Date: Tue Sep 5 17:12:12 2017
New Revision: 323188
URL: https://svnweb.freebsd.org/changeset/base/323188
Log:
MFC r323014:
Follow-up to r323001: if the actually selected CPUTYPE is capable of
SSE2 instructions, we can use them.
Suggested by: jkim
PR: 221733
Modified:
stable/11/lib/libcompiler_rt/Makefile.inc
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libcompiler_rt/Makefile.inc
==============================================================================
--- stable/11/lib/libcompiler_rt/Makefile.inc Tue Sep 5 16:59:19 2017 (r323187)
+++ stable/11/lib/libcompiler_rt/Makefile.inc Tue Sep 5 17:12:12 2017 (r323188)
@@ -117,8 +117,8 @@ SRCF+= udivti3
SRCF+= umoddi3
SRCF+= umodti3
-# Avoid using SSE2 instructions on i386.
-.if ${MACHINE_CPUARCH} == "i386"
+# Avoid using SSE2 instructions on i386, if unsupported.
+.if ${MACHINE_CPUARCH} == "i386" && empty(MACHINE_CPU:Msse2)
SRCS+= floatdidf.c
SRCS+= floatdisf.c
SRCS+= floatdixf.c
More information about the svn-src-stable
mailing list