MIPS: math-emu: Unify ieee754dp_m{add,sub}f
authorPaul Burton <paul.burton@imgtec.com>
Thu, 21 Apr 2016 13:04:50 +0000 (14:04 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:22 +0000 (14:02 +0200)
commitd728f6709bcc49c98097485e3561f1faaf52b4f3
tree145e9bc429080d43ab26ba67573aeaa735efa1c2
parent6162051e87f6ea785cb51ad99bdcf8eb0bd9cb07
MIPS: math-emu: Unify ieee754dp_m{add,sub}f

The code for emulating MIPSr6 madd.d & msub.d instructions has
previously been implemented as 2 different functions, namely
ieee754dp_maddf & ieee754dp_msubf. The difference in behaviour of these
2 instructions is merely the sign of the product, so we can easily share
the code implementing them. Do this for the double precision variant,
removing the original ieee754dp_msubf in favor of reusing the code from
ieee754dp_maddf.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13155/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/Makefile
arch/mips/math-emu/dp_maddf.c
arch/mips/math-emu/dp_msubf.c [deleted file]
This page took 0.026708 seconds and 5 git commands to generate.