summaryrefslogtreecommitdiffstats
path: root/lib/bch.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-04-21 14:04:49 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:02:22 +0200
commit6162051e87f6ea785cb51ad99bdcf8eb0bd9cb07 (patch)
treedcbed0ce8143e823e3cd3ba8db3810b89861705e /lib/bch.c
parent4b820d95dc53c15e6e727da964430a3ed60e05ef (diff)
downloadop-kernel-dev-6162051e87f6ea785cb51ad99bdcf8eb0bd9cb07.zip
op-kernel-dev-6162051e87f6ea785cb51ad99bdcf8eb0bd9cb07.tar.gz
MIPS: math-emu: Unify ieee754sp_m{add,sub}f
The code for emulating MIPSr6 madd.s & msub.s instructions has previously been implemented as 2 different functions, namely ieee754sp_maddf & ieee754sp_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 single precision variant, removing the original ieee754sp_msubf in favor of reusing the code from ieee754sp_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/13154/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud