summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-02-20 15:37:13 +0100
committerAnatol Belski <ab@php.net>2018-02-20 17:33:58 +0100
commitdfcbc2c32b4f6d3e04859113bc68bfef7f931860 (patch)
tree3d1799dcf15d7157ea7ec6b0ce9f9aa94f6616fe
parent190e97b66bfc47bf92c9f1ee9359a227b35e7adf (diff)
downloadphp-git-dfcbc2c32b4f6d3e04859113bc68bfef7f931860.tar.gz
Sync --enable-native-intrinsics to pecl
-rw-r--r--win32/build/config.w32.phpize.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/build/config.w32.phpize.in b/win32/build/config.w32.phpize.in
index 5d9cd6efa6..f7b4031abc 100644
--- a/win32/build/config.w32.phpize.in
+++ b/win32/build/config.w32.phpize.in
@@ -126,3 +126,11 @@ DEFINE("PHP_DIR", PHP_DIR);
ARG_WITH("codegen-arch", "Architecture for code generation", "no");
toolset_setup_codegen_arch();
+ARG_ENABLE("native-intrinsics", "Comma separated list of intrinsic optimizations to enable. \
+ Available optimization names are sse, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2. \
+ SSE and SSE2 are enabled by default. The best optimization specified will \
+ automatically enable all the older optimizations. Note, that the produced binary \
+ might not work properly, if the optimizations are not available on the target \
+ processor.", "no");
+toolset_setup_intrinsic_cflags();
+