summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-13 17:48:37 +0100
committerWerner Koch <wk@gnupg.org>2011-02-13 17:48:37 +0100
commita39539afdf39fe525ed7512aafb92733d2fe358c (patch)
treed621e7385d07063cf4ffc93f3c63748e6a1cc18a /ChangeLog
parent487e4da34e3134922240431ccd8554d7ea47be88 (diff)
downloadlibgcrypt-a39539afdf39fe525ed7512aafb92733d2fe358c.tar.gz
First take on using AES-NI instructions
This first naive use of the new Intel AES-NI instructions boosts the performance of AES on CPUs supporting this by 3 to 5 times. Results from running ./benchmark --cipher-repetitions 10 --large-buffers cipher aes on a cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz stepping : 2 cpu MHz : 3325.494 cache size : 4096 KB cpu cores : 2 yields this: ECB/Stream CBC CFB OFB CTR --------------- --------------- --------------- --------------- --------------- 130ms 110ms 110ms 100ms 110ms 110ms 160ms 150ms 170ms 170ms 40ms 40ms 20ms 30ms 30ms 20ms 70ms 70ms 80ms 80ms The first line is with runtime switched off AES-NI instructions (don't set use_aesni in do_setkey), the second with enabled AES-NI. By fixing the alignment, I hope to squeeze out a little more even with this naive implementation.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 03461e46..f192d20a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-11 Werner Koch <wk@g10code.com>
+
+ * configure.ac: Add option --disbale-aesni-support.
+ (ENABLE_AESNI_SUPPORT): New macro.
+
2011-02-04 Werner Koch <wk@g10code.com>
* autogen.sh: Install the git pre-commit if not yet done.