aboutsummaryrefslogtreecommitdiff
path: root/c/simd-isascii/README
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-27 00:25:00 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-27 00:25:00 +0200
commit3b59bedbbb6e4aeaa584d14157aa92255b3a7031 (patch)
tree47c5a7fd0b8e397d1704af5e4bea4bb2c5d4eca4 /c/simd-isascii/README
parent9799ae3f29197eb65508e398d59591c238e59d6b (diff)
Add AVX-2
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