Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypo_ia32: don't optimize debug builds
[vpp.git]
/
src
/
plugins
/
crypto_ia32
/
aes_cbc.c
diff --git
a/src/plugins/crypto_ia32/aes_cbc.c
b/src/plugins/crypto_ia32/aes_cbc.c
index
2c08aa2
..
4ad01b5
100644
(file)
--- a/
src/plugins/crypto_ia32/aes_cbc.c
+++ b/
src/plugins/crypto_ia32/aes_cbc.c
@@
-22,6
+22,10
@@
#include <crypto_ia32/crypto_ia32.h>
#include <crypto_ia32/aesni.h>
+#if __GNUC__ > 4 && !__clang__ && CLIB_DEBUG == 0
+#pragma GCC optimize ("O3")
+#endif
+
typedef struct
{
__m128i encrypt_key[15];