Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto PR port-powerpc/55425



details:   https://anonhg.NetBSD.org/src/rev/54c55e0612a3
branches:  trunk
changeset: 973857:54c55e0612a3
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jul 15 08:14:41 2020 +0000

description:
PR port-powerpc/55425

Update comment; FPU emulation seems to work just fine now. However,
FPU-optimized code should still be avoided for better performance,
if FPU is not present.

diffstat:

 crypto/external/bsd/openssl/dist/crypto/ppccap.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 5d5c28bd5ff2 -r 54c55e0612a3 crypto/external/bsd/openssl/dist/crypto/ppccap.c
--- a/crypto/external/bsd/openssl/dist/crypto/ppccap.c  Wed Jul 15 08:10:41 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/ppccap.c  Wed Jul 15 08:14:41 2020 +0000
@@ -375,8 +375,7 @@
 
     /*
      * If machdep.fpu_present == 0, FPU is absent and emulated by software.
-     * Avoid using it as calculation results may not be correct in bit-to-bit
-     * precision.
+     * Avoid using it for better performance.
      */
     error = sysctlbyname("machdep.fpu_present", &val, &len, NULL, 0);
     if (error != 0 || (error == 0 && val != 0))



Home | Main Index | Thread Index | Old Index