From dfcbc2c32b4f6d3e04859113bc68bfef7f931860 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 20 Feb 2018 15:37:13 +0100 Subject: [PATCH] Sync --enable-native-intrinsics to pecl --- win32/build/config.w32.phpize.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); + -- 2.50.1