-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update WasmOMGIRGenerator32_64.cpp #46678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update WasmOMGIRGenerator32_64.cpp #46678
Conversation
EWS run on previous version of this PR (hash 598de69) |
Thanks @ioannad, those all look straightforward to me and this significantly reduces the diff to the 64-bit version. |
598de69
to
e53afc5
Compare
EWS run on current version of this PR (hash e53afc5) |
The ref-i31-eq.js failure turned out to be an issue in WasmBBQJIT32_64.cpp, which was fixed with PR #46970, so I updated this with PR all the changes, also including ones that I was suspecting were involved with the failure. Since @aoikonomopoulos already reviewed the previous version of the changes, here is what I added with the force push:
|
https://bugs.webkit.org/show_bug.cgi?id=294413 Reviewed by Justin Michaud. Update to match the 64 bit version. The updates in detail: - Switch JSWebAssemblyArray.h include to JSWebAssemblyArrayInlines.h - Remove reduntant BitAnd 0x7fffffff from addRefI31. - Remove ConstIntPtrValue in favour or ConstPtrValue. - Add comments, rename variables, and typeset to match the 64 bit version. - Apply SIMD tracking changes (related to struct RootBlock), although they have no effect in the 32 bit version. - Use probeDebugSIMD instead of probeDebug, in addArguments, and prepareForTailCallImpl. - Reorder some lines to match the 64 bit version, in emitRefTestOrCast and in prepareForTailCallImpl. - Restore srcOffset from tmpSpill if clobbersTmp, in prepareForTailCallImpl. - Use WasmRefType() instead of Int64 in addTableSet, addRefI31, and emitCatchTableImpl. - Use callWasmOperation in emitRefTestOrCast. - Trivially use the unimplemented VectorMulHigh, VectorMulLow. - Add debugging info to match the 64 bit version. - 'Allow self recursion with limit' changes in canInline. - More changes from 'Do not use stored call-site-index for OMG' - Count try blocks when IPInt is enabled, in addLoop. - Switch signature() to m_signature in addElseToUnreachable. - Use m_currentBlock instead of block in emitCatchTableImpl. - Use makeUniqueWithoutFastMallocCheck in parseAndCompileOMG. * Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp: (JSC::Wasm::OMGIRGenerator::fixupPointerPlusOffset): (JSC::Wasm::OMGIRGenerator::OMGIRGenerator): (JSC::Wasm::OMGIRGenerator::insertEntrySwitch): (JSC::Wasm::OMGIRGenerator::insertConstants): (JSC::Wasm::OMGIRGenerator::addArguments): (JSC::Wasm::OMGIRGenerator::addRefFunc): (JSC::Wasm::OMGIRGenerator::load): (JSC::Wasm::OMGIRGenerator::emitStoreOp): (JSC::Wasm::OMGIRGenerator::addRefI31): (JSC::Wasm::OMGIRGenerator::emitRefTestOrCast): (JSC::Wasm::OMGIRGenerator::addSIMDExtmul): (JSC::Wasm::OMGIRGenerator::addLoop): (JSC::Wasm::OMGIRGenerator::addElseToUnreachable): (JSC::Wasm::OMGIRGenerator::emitCatchImpl): (JSC::Wasm::OMGIRGenerator::emitCatchTableImpl): (JSC::Wasm::prepareForTailCallImpl): (JSC::Wasm::OMGIRGenerator::canInline const): (JSC::Wasm::OMGIRGenerator::emitInlineDirectCall): (JSC::Wasm::OMGIRGenerator::addCall): (JSC::Wasm::OMGIRGenerator::addCallRef): (JSC::Wasm::parseAndCompileOMG): Canonical link: https://commits.webkit.org/296580@main
e53afc5
to
d934b72
Compare
Committed 296580@main (d934b72): https://commits.webkit.org/296580@main Reviewed commits have been landed. Closing PR #46678 and removing active labels. |
d934b72
e53afc5
🛠 playstation