]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: math-emu: Fix bit-width in ieee754dp_{mul, maddf, msubf} comments
authorPaul Burton <paul.burton@imgtec.com>
Thu, 21 Apr 2016 13:04:52 +0000 (14:04 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:23 +0000 (14:02 +0200)
commit71160886378d35ffdc25b308d124e311582322ca
tree0a6c6ebc0bfdb1608c008e852fafd6717f0aff9b
parentf87a652364da68c49ea9d1a21fbfba11953a0483
MIPS: math-emu: Fix bit-width in ieee754dp_{mul, maddf, msubf} comments

A comment in ieee754dp_mul indicates that the code is about to perform a
32b x 32b multiplication & keep the high 32b of the result. It appears
this was copied from the single-precision multiplication code, since the
code actually goes on to perform a 64b x 64b multiplication & keep the
high 64b of the result. Fix the comment to indicate 64b.

It appears also that this comment was copied verbatim along with the
rest of the multiplication code into ieee754dp_maddf, which has since
been renamed _dp_maddf. Fix the same issue there.

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/13157/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dp_maddf.c
arch/mips/math-emu/dp_mul.c