-
yuqiang.xian@intel.com authored
https://bugs.webkit.org/show_bug.cgi?id=72501 Reviewed by Filip Pizlo. Extend softModulo to support X86 and MIPS in baseline JIT. Apply the same optimization to 32bit DFG JIT. 1% gain on Kraken, tested on Linux Core i7 Nehalem 32bit. * dfg/DFGSpeculativeJIT.h: * dfg/DFGSpeculativeJIT32_64.cpp: (JSC::DFG::SpeculativeJIT::compileSoftModulo): (JSC::DFG::SpeculativeJIT::compile): * jit/JITArithmetic32_64.cpp: (JSC::JIT::emit_op_mod): (JSC::JIT::emitSlow_op_mod): * jit/JITOpcodes32_64.cpp: (JSC::JIT::softModulo): * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
92ab8752