Bug 165511 - WebAssembly: bit-pack signature and code for call_indirect
Summary: WebAssembly: bit-pack signature and code for call_indirect
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 165118 165957
Blocks: 161709
  Show dependency treegraph
 
Reported: 2016-12-06 21:06 PST by JF Bastien
Modified: 2020-01-24 09:18 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-12-06 21:06:10 PST
See WasmFormat.h, CallableFunction and FunctionIndexSpace.
Uniquing signatures is required for correctness, and packing the signature into the code pointer will make call_indirect faster (it just needs to rotate the packed signature, check it's the expected value, and then mask it out before jumping).