[Webkit-unassigned] [Bug 100321] Refactor LLInt64 to distinguish the pointer operations from the 64-bit integer operations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 24 22:04:31 PDT 2012


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





--- Comment #9 from Mark Lam <mark.lam at apple.com>  2012-10-24 22:05:38 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (From update of attachment 170544 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=170544&action=review
> > 
> > cloop changes look good to me.  Not so sure about some of the x86 changes though.
> > 
> > > Source/JavaScriptCore/offlineasm/x86.rb:56
> > > +        "*#{x86Operand(:quad)}"
> > 
> > What happens when we're building for 32-bit x86?  Shouldn't this be :ptr instead of :quad?
> > 
> > > Source/JavaScriptCore/offlineasm/x86.rb:251
> > > +        isX64 ? "*#{x86Operand(:quad)}" : "*#{x86Operand(:ptr)}"
> > 
> > Does isX64 necessarily mean we'll be using 64bit pointers?  Otherwise, it seems that this should always :ptr instead of :quad.
> 
> Hi Mark, thanks for the review. For your questions on this couple of changes, I think comment #3 answers them?

Based on this, the line at x86.rb:56 should be change to test for isX64 as well like at line 251.  Isn't that right?  For 32-bit x86 (not x32), I would expect jmps and calls to use a 32bit ptr, not a quad.  Am I misunderstanding something?

-- 
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