[Webkit-unassigned] [Bug 104103] Implement add64 for ARM traditional assembler after r136601

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 5 02:30:51 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=104103


Zoltan Herczeg <zherczeg at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #177706|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #2 from Zoltan Herczeg <zherczeg at webkit.org>  2012-12-05 02:33:17 PST ---
(From update of attachment 177706)
good direction, but it is not finished.

View in context: https://bugs.webkit.org/attachment.cgi?id=177706&action=review

> Source/JavaScriptCore/assembler/MacroAssemblerARM.h:127
> +        move(TrustedImmPtr(address.m_ptr), ARMRegisters::S0);
> +        load32(Address(ARMRegisters::S0), ARMRegisters::S1);
> +        add32(imm, ARMRegisters::S1);
> +        store32(ARMRegisters::S1, ARMRegisters::S0);

This is actually the add32 version. You need to take care about the higher 32 bit with addc/subc. And you should use the adds directly (I know add32 now uses adds, but that may be go away. I mean I want it to go away :) )

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list