fn enable_simd_optimizations() {
    if is_env_set("CARGO_CFG_MEMCHR_DISABLE_AUTO_SIMD")
        || !target_has_feature("sse2")
    {
        return;
    }
    println!("cargo:rustc-cfg=memchr_runtime_simd");
    println!("cargo:rustc-cfg=memchr_runtime_sse2");
    println!("cargo:rustc-cfg=memchr_runtime_sse42");
    println!("cargo:rustc-cfg=memchr_runtime_avx");
}
// This adds various simd cfgs if this compiler and target support it.
//
// This can be disabled with RUSTFLAGS="--cfg memchr_disable_auto_simd", but
// this is generally only intended for testing.
//
// On targets which don't feature SSE2, this is disabled, as LLVM wouln't know
// how to work with SSE2 operands. Enabling SSE4.2 and AVX on SSE2-only targets
// is not a problem. In that case, the fastest option will be chosen at
// runtime.
This adds various simd cfgs if this compiler and target support it.
This can be disabled with RUSTFLAGS="--cfg memchr_disable_auto_simd", but
this is generally only intended for testing.

On targets which don't feature SSE2, this is disabled, as LLVM wouln't know
how to work with SSE2 operands. Enabling SSE4.2 and AVX on SSE2-only targets
is not a problem. In that case, the fastest option will be chosen at
runtime.
This adds various simd cfgs if this compiler and target support it . This can be disabled with RUSTFLAGS = " -- cfg memchr_disable_auto_simd " but this is generally only intended for testing . On targets which don ' t feature SSE2 this is disabled as LLVM wouln ' t know how to work with SSE2 operands . Enabling SSE4 . 2 and AVX on SSE2 - only targets is not a problem . In that case the fastest option will be chosen at runtime .
fn enable_simd_optimizations() {
    if is_env_set("CARGO_CFG_MEMCHR_DISABLE_AUTO_SIMD")
        || !target_has_feature("sse2")
    {
        return;
    }
    println!("cargo:rustc-cfg=memchr_runtime_simd");
    println!("cargo:rustc-cfg=memchr_runtime_sse2");
    println!("cargo:rustc-cfg=memchr_runtime_sse42");
    println!("cargo:rustc-cfg=memchr_runtime_avx");
}
fn enable_simd_optimizations ( ) { if is_env_set ( " " ) || ! target_has_feature ( " " ) { return ; } println ! ( " " ) ; println ! ( " " ) ; println ! ( " " ) ; println ! ( " " ) ; }
This adds various simd cfgs if this compiler and target support it.
This adds various simd cfgs if this compiler and target support it .