]> granicus.if.org Git - php/commitdiff
Sync --enable-native-intrinsics to pecl
authorAnatol Belski <ab@php.net>
Tue, 20 Feb 2018 14:37:13 +0000 (15:37 +0100)
committerAnatol Belski <ab@php.net>
Tue, 20 Feb 2018 16:33:58 +0000 (17:33 +0100)
win32/build/config.w32.phpize.in

index 5d9cd6efa6dd039c63a253b92be204b0045d1921..f7b4031abc59fb2eb37e314aaa90bdfdd05cbfba 100644 (file)
@@ -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();
+