summaryrefslogtreecommitdiff
path: root/make-mac.mk
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-07-15 17:56:09 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-07-15 17:56:09 -0700
commit12692c551ea89e33e1ade02c2432da34a320856b (patch)
treee0eba356355dca99de28248e0b589c830683215f /make-mac.mk
parent00f9305ad8bb2b29ba3de582027bd0ee3b7877bc (diff)
downloadinfinitytier-12692c551ea89e33e1ade02c2432da34a320856b.tar.gz
infinitytier-12692c551ea89e33e1ade02c2432da34a320856b.zip
SSE optimized Salsa20 -- anywhere from 20% to 50% faster than plain C version
Diffstat (limited to 'make-mac.mk')
-rw-r--r--make-mac.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-mac.mk b/make-mac.mk
index d0bbea27..550cad43 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -24,6 +24,9 @@ ifeq ($(ZT_USE_TESTNET),1)
DEFS+=-DZT_USE_TESTNET
endif
+# Enable SSE-optimized Salsa20
+DEFS+=-DZT_SALSA20_SSE
+
# Uncomment to dump trace and log info to stdout (useful for debug/test)
#DEFS+=-DZT_TRACE -DZT_LOG_STDOUT