summaryrefslogtreecommitdiffstats
path: root/lib/libthr/arch/amd64/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/arch/amd64/Makefile.inc')
-rw-r--r--lib/libthr/arch/amd64/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libthr/arch/amd64/Makefile.inc b/lib/libthr/arch/amd64/Makefile.inc
index e6d99ec..0ae764c 100644
--- a/lib/libthr/arch/amd64/Makefile.inc
+++ b/lib/libthr/arch/amd64/Makefile.inc
@@ -1,3 +1,9 @@
#$FreeBSD$
SRCS+= pthread_md.c _umtx_op_err.S
+
+# With the current compiler and libthr code, using SSE in libthr
+# does not provide enough performance improvement to outweigh
+# the extra context switch cost. This can measurably impact
+# performance when the application also does not use enough SSE.
+CFLAGS+=${CFLAGS_NO_SIMD}
OpenPOWER on IntegriCloud