]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MPILIB: disable usage of floating point registers on parisc
authorHelge Deller <deller@gmx.de>
Sun, 5 May 2013 22:08:22 +0000 (22:08 +0000)
committerHelge Deller <deller@gmx.de>
Sun, 19 May 2013 09:15:28 +0000 (11:15 +0200)
commit372c0e781652d37a7083022d95f9d5721b48c72e
tree2a0bc7fb9f6f05e761ab29788675c1da828f74d5
parent130901ba33c4a040e12cf7cce240c1056cc096ee
MPILIB: disable usage of floating point registers on parisc

The umul_ppmm() macro for parisc uses the xmpyu assembler statement
which does calculation via a floating point register.

But usage of floating point registers inside the Linux kernel are not
allowed and gcc will stop compilation due to the -mdisable-fpregs
compiler option.

Fix this by disabling the umul_ppmm() and udiv_qrnnd() macros. The
mpilib will then use the generic built-in implementations instead.

Signed-off-by: Helge Deller <deller@gmx.de>
lib/mpi/longlong.h