[Webkit-unassigned] [Bug 155429] [mips] Implemented moveZeroToDouble.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 04:09:59 PDT 2016


--- Comment #2 from Julien Brianceau <jbriance at cisco.com> ---
Comment on attachment 273953
  --> https://bugs.webkit.org/attachment.cgi?id=273953

View in context: https://bugs.webkit.org/attachment.cgi?id=273953&action=review

> Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:2504
> +        m_assembler.mtc1(MIPSRegisters::zero, reg);

This will set to 0 only one FP register, which is not enough for double precision.

I think it would be easier to put something like this:

    convertInt32ToDouble(MIPSRegisters::zero, reg);

I also thought of this, but I'm not sure it's a good idea:

    subDouble(reg, reg);

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160314/3659f560/attachment.html>

More information about the webkit-unassigned mailing list