summaryrefslogtreecommitdiff
path: root/lib/jedec_ddr_data.c
diff options
context:
space:
mode:
authorAleksandar Markovic <aleksandar.markovic@imgtec.com>2017-06-19 17:50:12 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2018-02-05 08:58:32 -0800
commit91fe2ac4d28f139e7b6ffb1b5d888164a3e7cee0 (patch)
tree917e9b9f5e1d867f68599a893ee9f5441e39d4f9 /lib/jedec_ddr_data.c
parentdf5314d4c24b9ec8c36a794e58db67745fdbe410 (diff)
UPSTREAM: 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> (cherry picked from commit ddbfff7429a75d954bf5bdff9f2222bceb4c236a) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions