From 1074f02d57596fe3fa70648d1fdccc3efefcd169 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Thu, 18 Feb 2021 15:34:34 -0500 Subject: [PATCH] clarify C build instructions a bit --- c/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/c/README.md b/c/README.md index d4d4b7c..8428e48 100644 --- a/c/README.md +++ b/c/README.md @@ -181,13 +181,13 @@ widest instruction set available. By default, `blake3_dispatch.c` expects to be linked with code for five different instruction sets: portable C, SSE2, SSE4.1, AVX2, and AVX-512. -For each of the x86 SIMD instruction sets, two versions are available, -one in assembly (which is further divided into three flavors: Unix, -Windows MSVC, and Windows GNU) and one using C intrinsics. The assembly -versions are generally preferred: they perform better, they perform more -consistently across different compilers, and they build more quickly. On -the other hand, the assembly versions are x86\_64-only, and you need to -select the right flavor for your target platform. +For each of the x86 SIMD instruction sets, four versions are available: +three flavors of assembly (Unix, Windows MSVC, and Windows GNU) and one +version using C intrinsics. The assembly versions are generally +preferred. They perform better, they perform more consistently across +different compilers, and they build more quickly. On the other hand, the +assembly versions are x86\_64-only, and you need to select the right +flavor for your target platform. Here's an example of building a shared library on x86\_64 Linux using the assembly implementations: