svn commit: r323014 - head/lib/libcompiler_rt
Dimitry Andric
dim at FreeBSD.org
Wed Aug 30 07:05:30 UTC 2017
Author: dim
Date: Wed Aug 30 07:05:29 2017
New Revision: 323014
URL: https://svnweb.freebsd.org/changeset/base/323014
Log:
Follow-up to r323001: if the actually selected CPUTYPE is capable of
SSE2 instructions, we can use them.
Suggested by: jkim
PR: 221733
MFC after: 1 week
X-MFC-With: r323001
Modified:
head/lib/libcompiler_rt/Makefile.inc
Modified: head/lib/libcompiler_rt/Makefile.inc
==============================================================================
--- head/lib/libcompiler_rt/Makefile.inc Wed Aug 30 06:28:09 2017 (r323013)
+++ head/lib/libcompiler_rt/Makefile.inc Wed Aug 30 07:05:29 2017 (r323014)
@@ -122,8 +122,8 @@ SRCF+= umoddi3
SRCF+= umodsi3
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-all
mailing list