Special thunks for math functions should work on ARMv7
authorFilip Pizlo <fpizlo@apple.com>
Thu, 25 Apr 2013 01:26:35 +0000 (01:26 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Thu, 25 Apr 2013 01:26:35 +0000 (01:26 +0000)
commit840eda38f83955c181e4f3cb04a9ad43c7b5e653
treea64688f5776ff3a99c6216b14fb158d96c8b0303
parentfb30481ec6f1cbfc7b6f454f98e111ad9ec1d29e
Special thunks for math functions should work on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=115144

Reviewed by Gavin Barraclough and Oliver Hunt.

The only hard bit here was ensuring that we implemented the very special
"cheap C call" convention on ARMv7.

* assembler/AbstractMacroAssembler.h:
(JSC::isARMv7s):
(JSC):
(JSC::isX86):
* dfg/DFGCommon.h:
* jit/SpecializedThunkJIT.h:
(SpecializedThunkJIT):
(JSC::SpecializedThunkJIT::callDoubleToDoublePreservingReturn):
* jit/ThunkGenerators.cpp:
(JSC::floorThunkGenerator):
(JSC::ceilThunkGenerator):
(JSC::roundThunkGenerator):
(JSC::expThunkGenerator):
(JSC::logThunkGenerator):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
Source/JavaScriptCore/dfg/DFGCommon.h
Source/JavaScriptCore/jit/SpecializedThunkJIT.h
Source/JavaScriptCore/jit/ThunkGenerators.cpp