ARM: Use the vsqrt instruction when available
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Jun 2010 09:40:36 +0000 (09:40 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Jun 2010 09:40:36 +0000 (09:40 +0000)
commit65018d9123eea1793fbdd8b9d98dda8e831c5b90
tree34b28563b4b3f36c79e8a4d839ece5941331908d
parent7f816486f2f5061f74c7c3dad360d22c2009bb7e
ARM: Use the vsqrt instruction when available

vsqrt is used to calculate Math.sqrt(x), Math.pow(x, 0.5) and Math.pow(x, -0.5). Code size doesn't matter, as %_MathSqrt and %_MathPow are only called in one place each.
Review URL: http://codereview.chromium.org/2885002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4974 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/assembler-arm.cc
src/arm/assembler-arm.h
src/arm/codegen-arm.cc
src/arm/disasm-arm.cc
src/arm/macro-assembler-arm.cc
src/arm/macro-assembler-arm.h
src/arm/simulator-arm.cc
test/cctest/test-disasm-arm.cc
test/mjsunit/math-sqrt.js