Module Name: src
Committed By: rin
Date: Wed Jul 15 08:14:41 UTC 2020
Modified Files:
src/crypto/external/bsd/openssl/dist/crypto: ppccap.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/crypto/external/bsd/openssl/dist/crypto/ppccap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssl/dist/crypto/ppccap.c
diff -u src/crypto/external/bsd/openssl/dist/crypto/ppccap.c:1.16 src/crypto/external/bsd/openssl/dist/crypto/ppccap.c:1.17
--- src/crypto/external/bsd/openssl/dist/crypto/ppccap.c:1.16 Tue Jul 7 01:47:47 2020
+++ src/crypto/external/bsd/openssl/dist/crypto/ppccap.c Wed Jul 15 08:14:41 2020
@@ -375,8 +375,7 @@ void OPENSSL_cpuid_setup(void)
/*
* 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))