summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/Makefile
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-04-21 16:04:50 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 15:02:22 +0300
commitd728f6709bcc49c98097485e3561f1faaf52b4f3 (patch)
tree145e9bc429080d43ab26ba67573aeaa735efa1c2 /arch/mips/math-emu/Makefile
parent6162051e87f6ea785cb51ad99bdcf8eb0bd9cb07 (diff)
downloadlinux-d728f6709bcc49c98097485e3561f1faaf52b4f3.tar.xz
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>
Diffstat (limited to 'arch/mips/math-emu/Makefile')
-rw-r--r--arch/mips/math-emu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/Makefile b/arch/mips/math-emu/Makefile
index 3389aff21783..e9bbc2a6526f 100644
--- a/arch/mips/math-emu/Makefile
+++ b/arch/mips/math-emu/Makefile
@@ -4,7 +4,7 @@
obj-y += cp1emu.o ieee754dp.o ieee754sp.o ieee754.o \
dp_div.o dp_mul.o dp_sub.o dp_add.o dp_fsp.o dp_cmp.o dp_simple.o \
- dp_tint.o dp_fint.o dp_maddf.o dp_msubf.o dp_2008class.o dp_fmin.o dp_fmax.o \
+ dp_tint.o dp_fint.o dp_maddf.o dp_2008class.o dp_fmin.o dp_fmax.o \
sp_div.o sp_mul.o sp_sub.o sp_add.o sp_fdp.o sp_cmp.o sp_simple.o \
sp_tint.o sp_fint.o sp_maddf.o sp_2008class.o sp_fmin.o sp_fmax.o \
dsemul.o