Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2017 17:12:12 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323188 - stable/11/lib/libcompiler_rt
Message-ID:  <201709051712.v85HCCm0066598@repo.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201709051712.v85HCCm0066598>