[Webkit-unassigned] [Bug 212385] New: Add some new emitters to the X86_64 and ARM64 MacroAssemblers.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 26 13:59:16 PDT 2020


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

            Bug ID: 212385
           Summary: Add some new emitters to the X86_64 and ARM64
                    MacroAssemblers.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

Specifically, these:
    clearBit64
    clearBits64WithMask
    countTrailingZeros64WithoutNullCheck

clearBit64 provides a faster way to clear a bit without having to a shift to make a mask first.
clearBits64WithMask does the equivalent of and64 with the 1's complement of the provided mask.
countTrailingZeros64WithoutNullCheck does the same thing as countTrailingZeros64, except that it assumes that the word in the register it is processing will never be null, and therefore skips the null check.  This is useful in code that already does a null check ahead of time.  So, there's no need to do a redundant null check.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200526/28c092d7/attachment-0001.htm>


More information about the webkit-unassigned mailing list