From d923269e13f903b02506d86f138369586862364e Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 3 Jul 2012 15:30:53 -0700 Subject: [PATCH] tls: make tls a little bit faster Compile OpenSSL with inline assembly for big numbers --- deps/openssl/openssl.gyp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 7a031ec..c9dc07d 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -179,7 +179,6 @@ 'openssl/crypto/bio/bss_null.c', 'openssl/crypto/bio/bss_sock.c', 'openssl/crypto/bn/bn_add.c', - 'openssl/crypto/bn/bn_asm.c', 'openssl/crypto/bn/bn_blind.c', 'openssl/crypto/bn/bn_const.c', 'openssl/crypto/bn/bn_ctx.c', @@ -650,9 +649,15 @@ }], ['target_arch=="ia32"', { 'variables': {'openssl_config_path': 'config/piii'}, + 'sources': [ + 'openssl/crypto/bn/bn_asm.c', + ] }, { 'variables': {'openssl_config_path': 'config/k8'}, - }], + 'sources': [ + 'openssl/crypto/bn/asm/x86_64-gcc.c', + ] + }] ], 'include_dirs': [ '.', -- 2.7.4