Bug 73727

Summary: MacroAssembler should support zeroing registers
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: barraclough, loki, oliver, pvarga, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.