From 80224f2982e4da3ea94001ae303b1d372cd3472b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 8 Mar 2018 11:10:40 +0000 Subject: [PATCH] [Minor] Torch actually requires SSE2 not SSE4.2 --- src/lua/lua_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 5a6bac8bc..9fd657e6e 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -2942,7 +2942,7 @@ lua_config_has_torch (lua_State *L) lua_pushboolean (L, false); (void)crypto_ctx; #else - if (crypto_ctx->cpu_config & CPUID_SSE41) { + if (crypto_ctx->cpu_config & CPUID_SSE2) { lua_pushboolean (L, true); } else { -- 2.39.5