mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 00:15:51 +07:00
d728f6709b
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>
17 lines
549 B
Makefile
17 lines
549 B
Makefile
#
|
|
# Makefile for the Linux/MIPS kernel FPU emulation.
|
|
#
|
|
|
|
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_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
|
|
|
|
lib-y += ieee754d.o \
|
|
dp_tlong.o dp_flong.o dp_sqrt.o \
|
|
sp_tlong.o sp_flong.o sp_sqrt.o
|
|
|
|
obj-$(CONFIG_DEBUG_FS) += me-debugfs.o
|