Summary: | MacroAssemblerARM should use xor to swap registers instead of move | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gabor Rapcsanyi <rgabor> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, commit-queue, fpizlo, ossy, scerveau, zherczeg | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 108645 | ||||||
Attachments: |
|
Description
Gabor Rapcsanyi
2013-05-17 05:02:36 PDT
Created attachment 202065 [details]
proposed fix
Maybe we should consider to make this change on ARMv7 as well.
Comment on attachment 202065 [details]
proposed fix
r=me
Comment on attachment 202065 [details] proposed fix Clearing flags on attachment: 202065 Committed r150748: <http://trac.webkit.org/changeset/150748> All reviewed patches have been landed. Closing bug. (In reply to comment #1) > Maybe we should consider to make this change on ARMv7 as well. I think we should not. ARMv7 has register aliasing, making "mov" essentially free in most situation. Does the bug exist on ARMv7 though? Well, let's say, some ARMv7 have register aliasing... :) (In reply to comment #5) > (In reply to comment #1) > > Maybe we should consider to make this change on ARMv7 as well. > > I think we should not. > ARMv7 has register aliasing, making "mov" essentially free in most situation. > > Does the bug exist on ARMv7 though? Yeah this doesn't feel right for the ARMv7 assembler. There we have scratch registers for doing this. So long as there is a spare register the moves will be faster. *** Bug 112697 has been marked as a duplicate of this bug. *** This bug also fixed many failing tests reported in https://bugs.webkit.org/show_bug.cgi?id=105304 *** Bug 113774 has been marked as a duplicate of this bug. *** *** Bug 117349 has been marked as a duplicate of this bug. *** |