]> code.ossystems Code Review - openembedded-core.git/commit
gmp_4.2.1: fix build for MIPS
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 5 Feb 2016 19:56:19 +0000 (11:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:29:45 +0000 (17:29 +0000)
commitf8b2eb5eb09a1314ef59e58df95e81c1c1ccf1f4
tree8a5bf8df028bc5c0367f6a3e897897a6eb04a8ce
parente2605d280b515a010c96db6254c24b483727051e
gmp_4.2.1: fix build for MIPS

The h asm constrain (to extract the high part of a multiplication
result) has not been recognised since gcc 4.4:

  https://gcc.gnu.org/gcc-4.4/changes.html

Drop the MIPS umul_ppmm() implementations which rely on "=h" and fall
back to the older implementations (which use explicit mfhi and mflo
instructions to move the high and low parts of the multiplication
result into their destinations).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/gmp/gmp-4.2.1/avoid-h-asm-constraint-for-MIPS.patch [new file with mode: 0644]
meta/recipes-support/gmp/gmp_4.2.1.bb