Module Name: src Committed By: rin Date: Tue Jul 7 01:47:47 UTC 2020
Modified Files: src/crypto/external/bsd/openssl/dist/crypto: ppccap.c Log Message: Part of PR port-powerpc/55425 openssl fails on FPU emulation for powerpc When machdep.fpu_present sysctl variable can be retrieved, and its value is zero, avoid using FPU arithmetic. FPU is absent and emulated by kernel in that case, and calculation results are not correct in bit-to-bit precision. This behavior should be useful even if we could fix FPU emulation; it is much faster to skip FPU arithmetic in general, rather than relying upon emulation by kernel via illegal instruction handler. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 \ 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.