MIPS: Implement sqrt in inline assembly.
authorplind44@gmail.com <plind44@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jan 2014 19:00:06 +0000 (19:00 +0000)
committerplind44@gmail.com <plind44@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jan 2014 19:00:06 +0000 (19:00 +0000)
commite3f474e158dbf5d72fd7893a4479104a64604785
tree232bc7fec1f74cb0e58025e77fb711ce27a2011b
parent713a74ca09caa719e23ad7b75390903b79fb00d6
MIPS: Implement sqrt in inline assembly.

Port r18506 (c7b2885)

Original commit message:
Call VSQRT directly to avoid the tiniest (1ulp) precision
error that occurs in the system-supplied sqrt on QNX/ARM.

All precision tests in SunSpider are now passing on this platform.

BUG=
R=plind44@gmail.com

Review URL: https://codereview.chromium.org/131263003

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/codegen-mips.cc
src/mips/macro-assembler-mips.cc
src/mips/macro-assembler-mips.h