aboutsummaryrefslogtreecommitdiff
path: root/c/simd-isascii/README
diff options
context:
space:
mode:
Diffstat (limited to 'c/simd-isascii/README')
-rw-r--r--c/simd-isascii/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/simd-isascii/README b/c/simd-isascii/README
new file mode 100644
index 0000000..22ba633
--- /dev/null
+++ b/c/simd-isascii/README
@@ -0,0 +1,8 @@
+You can generate test data via the following command, and then just
+use ‘echo foo >>out’ to write some non-ASCII into the stream.
+
+ $ tr -cd ' -~' </dev/urandom | head -c BYTES >out
+
+Findings:
+1. GCC Doesn’t auto-vectorize the generic loop
+2. The AVX-2 version out-performs AVX-512 by a huge margin