summaryrefslogtreecommitdiffstats
path: root/src/cpuid.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-12-01 07:40:27 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-12-01 07:40:27 +0100
commit35748654f39a99c226cd14f3b92822eb64bd7037 (patch)
tree5f9ec74d842b2c3d198dfb6e4e5d6fd5b7f9481d /src/cpuid.h
parent8e6154d53b3904f3fe35d2b958972f7826167d46 (diff)
downloadfastd-35748654f39a99c226cd14f3b92822eb64bd7037.tar
fastd-35748654f39a99c226cd14f3b92822eb64bd7037.zip
Add fast SSE2 implementations "xmm" for Salsa20 and Salsa20/12
Public Domain implementations by D. J. Bernstein, see http://cr.yp.to/snuffle.html
Diffstat (limited to 'src/cpuid.h')
-rw-r--r--src/cpuid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpuid.h b/src/cpuid.h
index 310f0c2..d909ad9 100644
--- a/src/cpuid.h
+++ b/src/cpuid.h
@@ -32,6 +32,7 @@
#define CPUID_FXSR ((uint64_t)1 << 24)
+#define CPUID_SSE2 ((uint64_t)1 << 26)
#define CPUID_PCLMULQDQ ((uint64_t)1 << 33)
#define CPUID_SSSE3 ((uint64_t)1 << 41)