[Webkit-unassigned] [Bug 258557] New: __builtin_popcount and __builtin_popcountll are not defined by MSVC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 27 03:32:20 PDT 2023


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

            Bug ID: 258557
           Summary: __builtin_popcount and __builtin_popcountll are not
                    defined by MSVC
           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: Ryuichi.Hayashida at sony.com

__builtin_popcount and __builtin_popcountll are builtin functions provided by Clang and GCC, but MSVC doesn't provide the same function. Instead, __popcnt and __popcnt64 should be used when building WebKit for Windows.

https://learn.microsoft.com/en-us/cpp/intrinsics/popcnt16-popcnt-popcnt64?view=msvc-170

-- 
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/20230627/8a9f3b90/attachment.htm>


More information about the webkit-unassigned mailing list