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:23:58 +0000 (11:23 +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/11154)

Configurations/10-main.conf

index df1cc00529783638a6246b2a50db4639d2692cfe..d61b9ee108c98a585df723a5cca75e09f1db9109 100644 (file)
@@ -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",
     },