[Webkit-unassigned] [Bug 273556] New: [Win] Use SystemV ABI for JIT entrypoints in YarrJIT on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 10:49:30 PDT 2024


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

            Bug ID: 273556
           Summary: [Win] Use SystemV ABI for JIT entrypoints in YarrJIT
                    on Windows
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ian.grunert at gmail.com

clang-cl gives us the option of changing a function to use the SystemV ABI:

https://clang.llvm.org/docs/AttributeReference.html#sysv-abi

By using this on functions on the C++ / JIT boundaries, we can use the same codepaths for function calls and the same register mappings between Windows and Linux / Mac / BSD.

Yarr JIT is a good self-contained place to try out this change. We should be able to enable a few disabled features in Yarr JIT on Windows in the process:

YARR_JIT_ALL_PARENS_EXPRESSIONS
YARR_JIT_REGEXP_TEST_INLINE
YARR_JIT_BACKREFERENCES
YARR_JIT_BACKREFERENCES_FOR_16BIT_EXPRS

-- 
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/20240501/317395bf/attachment.htm>


More information about the webkit-unassigned mailing list