build: fix potential factor build failure on arm and powerpc
commite20d2ea1260ef1ecd086879548ef8ac2c573d785
authorPádraig Brady <P@draigBrady.com>
Fri, 29 Nov 2013 04:13:11 +0000 (29 04:13 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 29 Nov 2013 15:23:54 +0000 (29 15:23 +0000)
treedbb217413943fd8d0c4f668fcb80ef26b8d02d07
parent1b179421df864af61c9f4f4fb587c59947e67c22
build: fix potential factor build failure on arm and powerpc

* src/longlong.h: Sync with the latest longlong.h from libgmp to:
- avoid arm asm when being compiled for the thumb instruction [sub]set
- avoid old powerpc assembly that is incompatible with newer GCC
- add arm64 optimized count_trailing_zeros()
- add sparc64 optimized add_ssaaaa() and umul_ppmm()
src/longlong.h