Bug 73727 - MacroAssembler should support zeroing registers
Summary: MacroAssembler should support zeroing registers
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 17:53 PST by Oliver Hunt
Modified: 2011-12-05 00:35 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hunt 2011-12-02 17:53:17 PST
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.