summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAleksandar Markovic <aleksandar.markovic@imgtec.com>2017-06-19 17:50:12 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-06-28 02:54:30 +0200
commitddbfff7429a75d954bf5bdff9f2222bceb4c236a (patch)
tree89a95f0e4b2d3859fd900e9b1e74a25887bb2355 /samples
parent25d8b92e0af75d72ce8b99e63e5a449cc0888efa (diff)
MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separately
If accumulator value is zero, just return the value of previously calculated product. This brings logic in MADDF/MSUBF implementation closer to the logic in ADD/SUB case. Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com> Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com> Cc: James.Hogan@imgtec.com Cc: Paul.Burton@imgtec.com Cc: Raghu.Gandham@imgtec.com Cc: Leonid.Yegoshin@imgtec.com Cc: Douglas.Leung@imgtec.com Cc: Petar.Jovanovic@imgtec.com Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16512/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions