[Webkit-unassigned] [Bug 48060] Speed up op_jeq_null and op_jneq_null in JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 22 23:58:21 PDT 2010


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





--- Comment #9 from Zoltan Herczeg <zherczeg at webkit.org>  2010-10-22 23:58:20 PST ---
> >         enum { Int32Tag =        0xffffffff };

I remember an optimization:

if ((val1.tag() & val2.tag()) == 0xffffffff) -> both are integer.

And CellTag has only one zero bit at the end of the bit stream:

ALWAYS_INLINE JIT::Jump JIT::emitJumpIfBothJSCells(RegisterID reg1, RegisterID reg2, RegisterID scratch)
{
    move(reg1, scratch);
    orPtr(reg2, scratch);
    return emitJumpIfJSCell(scratch);
}

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