Bug 73727
Summary: | MacroAssembler should support zeroing registers | ||
---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | barraclough, loki, oliver, pvarga, zherczeg |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Oliver Hunt
Currently we use a mix of load ImmPtr(0) and xorPtr(r,r) to zero the contents of a register. Given that these perform differently on different architectures it probably makes sense to simply have a MacroAssembler API to zero a register that does the most efficient thing for the target platform.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |