Use moveDoubleToInts in SpecializedThunkJIT::returnDouble for non-X86 JSVALUE32_64...
authorJulien Brianceau <jbriance@cisco.com>
Mon, 3 Mar 2014 08:17:46 +0000 (09:17 +0100)
committerJulien Brianceau <jbriance@cisco.com>
Mon, 3 Mar 2014 08:17:46 +0000 (09:17 +0100)
commitaa61fcfaae9034aebd5f83899fae24c69aed5421
tree8802fc5b41949f536b02c11723fc3a5c92cfacdb
parent462926f9f98b62b93d177e4a047662bcb9a2ce39
Use moveDoubleToInts in SpecializedThunkJIT::returnDouble for non-X86 JSVALUE32_64 ports.
https://bugs.webkit.org/show_bug.cgi?id=124936

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-29
Reviewed by Zoltan Herczeg.

The moveDoubleToInts implementations in ARM, MIPS and SH4 macro assemblers do not clobber
src FPRegister and are likely to be more efficient than the current generic implementation
using the stack.

* jit/SpecializedThunkJIT.h:
(JSC::SpecializedThunkJIT::returnDouble):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/jit/SpecializedThunkJIT.h