From fa41bbe00ef03cf7f8bb0c6f20fa59d451fc7bca 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/11154) --- 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 df1cc00529..d61b9ee108 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -741,7 +741,7 @@ my %targets = ( inherit_from => [ "linux-generic32", asm("mips64_asm") ], cflags => add("-mabi=n32"), cxxflags => add("-mabi=n32"), - bn_ops => "SIXTY_FOUR_BIT RC4_CHAR", + bn_ops => "RC4_CHAR", perlasm_scheme => "n32", multilib => "32", }, -- 2.25.1