Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium HW-x64

New issue 1059 by [email protected]: x64: Rewrite LGapResolver
http://code.google.com/p/v8/issues/detail?id=1059

In SVN revision 6344 the gap resolver for IA32 was changed.

The x64 gap resolver is using the old-style implementation. It appears to suffer from issue 1033 (using register xmm0 for both resolving cycles and for memory-to-memory moves). It also spills rax right before a memory-to-memory move and then restores eagerly afterward. This strategy is bad when there are multiple memory-to-memory moves.

At a minimum, these issues need to be fixed. The whole class could be restructured to follow a similar depth-first strategy to the IA32. The strategy could be tweaked to take advantage of having a general-purpose scratch register available.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to