summaryrefslogtreecommitdiffstats
path: root/runtime/arch/x86/entrypoints_init_x86.cc
diff options
context:
space:
mode:
authorMark Mendell <mark.p.mendell@intel.com>2013-12-13 13:47:34 -0800
committerMark Mendell <mark.p.mendell@intel.com>2013-12-13 16:15:59 -0800
commitbff1ef0746048978b877c0664f758d2d6006f27d (patch)
tree2a720ddb0ea6560a9b79d66c2f45dfd97f680058 /runtime/arch/x86/entrypoints_init_x86.cc
parentcf28cbff9f0557dea9ed60358a956859ba1b56aa (diff)
downloadart-bff1ef0746048978b877c0664f758d2d6006f27d.zip
art-bff1ef0746048978b877c0664f758d2d6006f27d.tar.gz
art-bff1ef0746048978b877c0664f758d2d6006f27d.tar.bz2
Implement GenInlinedSqrt for x86
Implemented this using the hardware instruction, which handles NaN properly. Tested manually using host mode. Change-Id: I082aa20041c933ae5fc78f12ddf491d1c775c683 Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'runtime/arch/x86/entrypoints_init_x86.cc')
-rw-r--r--runtime/arch/x86/entrypoints_init_x86.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/arch/x86/entrypoints_init_x86.cc b/runtime/arch/x86/entrypoints_init_x86.cc
index 6a67079..b1d031a 100644
--- a/runtime/arch/x86/entrypoints_init_x86.cc
+++ b/runtime/arch/x86/entrypoints_init_x86.cc
@@ -176,6 +176,7 @@ void InitEntryPoints(InterpreterEntryPoints* ipoints, JniEntryPoints* jpoints,
// points->pCmplDouble = NULL; // Not needed on x86.
// points->pCmplFloat = NULL; // Not needed on x86.
qpoints->pFmod = art_quick_fmod;
+ // qpoints->pSqrt = NULL; // Not needed on x86.
qpoints->pL2d = art_quick_l2d;
qpoints->pFmodf = art_quick_fmodf;
qpoints->pL2f = art_quick_l2f;