OSDN Git Service

Art compiler: remove unnecessary sqrt call
authorbuzbee <buzbee@google.com>
Tue, 27 May 2014 20:59:04 +0000 (13:59 -0700)
committerbuzbee <buzbee@google.com>
Tue, 27 May 2014 20:59:04 +0000 (13:59 -0700)
commit055c29fd0f752328981f1b7ccadb1862eecedd40
tree4eda9505576549f94e5810a4a45d8356395cf400
parentab5b370e44629332e73ffd66bfe8b8a924236c5c
Art compiler: remove unnecessary sqrt call

For reasons lost in the mists of time, the Dalvik JIT tested
the results of an inlined sqrt for NaN on Arm targets, and then
called an out-of-line routine to recompute if true.  The Quick
compiler inherited this behavior.  It is not necessary, and the CL
purges it (along with the out-of-line sqrt entrypoint).

Change-Id: I8c8fa6feacf9b7c3b9e190dfc6f728932fd948c6
compiler/dex/quick/arm/fp_arm.cc
compiler/oat_test.cc
runtime/arch/arm/entrypoints_init_arm.cc
runtime/arch/arm64/entrypoints_init_arm64.cc
runtime/arch/x86/entrypoints_init_x86.cc
runtime/arch/x86_64/entrypoints_init_x86_64.cc
runtime/entrypoints/quick/quick_entrypoints.h
runtime/oat.cc
runtime/thread.cc