--- - branch: MAIN date: Tue Jul 7 01:47:47 UTC 2020 files: - new: '1.16' old: '1.15' path: src/crypto/external/bsd/openssl/dist/crypto/ppccap.c pathrev: src/crypto/external/bsd/openssl/dist/crypto/ppccap.c@1.16 type: modified id: 20200707T014747Z.5ced0b143ae3bd78ae989cfc0c32b1357a0e48d8 log: | 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. module: src subject: 'CVS commit: src/crypto/external/bsd/openssl/dist/crypto' unixtime: '1594086467' user: rin