From 76899264cbff822929f29f3d56c640368461d7f6 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 24 Feb 2020 09:02:31 +0200 Subject: [PATCH] Configure: Avoid SIXTY_FOUR_BIT for linux-mips64 This is a 32-bit ABI build (as opposed to linux64-mips64). Setting SIXTY_FOUR_BIT breaks hardware optimizations, at least on octeon processors. Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/11725) --- Configurations/10-main.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index a462f9e719..7b5da5c469 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -790,7 +790,7 @@ my %targets = ( inherit_from => [ "linux-generic32" ], cflags => add("-mabi=n32"), cxxflags => add("-mabi=n32"), - bn_ops => "SIXTY_FOUR_BIT RC4_CHAR", + bn_ops => "RC4_CHAR", asm_arch => 'mips64', perlasm_scheme => "n32", multilib => "32", -- 2.25.1