Configure: Avoid SIXTY_FOUR_BIT for linux-mips64
authorOrgad Shaneh <orgads@gmail.com>
Mon, 24 Feb 2020 07:02:31 +0000 (09:02 +0200)
committerMatt Caswell <matt@openssl.org>
Fri, 15 May 2020 10:22:40 +0000 (11:22 +0100)
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 <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11725)

Configurations/10-main.conf

index a462f9e7195de6ac5647c7910b7a4703a7173601..7b5da5c4693956220ea0c82da3804d6dad9cc2b2 100644 (file)
@@ -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",