Don't try to use MIPS32 asm macros on MIPS64

The MIPS32 bn_mul asm code causes segfaults on MIPS64 and failing
tests. Until someone has time to fix this up, MIPS64 platforms should
fall back to the C implementation (which works fine).
This commit is contained in:
Alex Wilson 2014-03-06 00:04:09 +10:00 committed by Paul Bakker
parent be04673c49
commit e63560470e
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@ Bugfix
* Fixed testing with out-of-source builds using cmake
* Fixed version-major intolerance in server
* Fixed CMake symlinking on out-of-source builds
* Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
Alex Wilson.)
= Version 1.2.10 released 2013-10-07
Changes

View File

@ -770,7 +770,7 @@
);
#endif /* Alpha */
#if defined(__mips__)
#if defined(__mips__) && !defined(__mips64__)
#define MULADDC_INIT \
asm( \