Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-18255

MSVC 17.2 added 'log2' intrinsics

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • SDK
    • None

    Description

      msvc14.3-amd64-Release build fails (on GitHub):

      MSVC 19.32
       
      ...\sdk\include\crt\math.h(298): error C2169: 'log2': intrinsic function, cannot be defined
      

      NB:
      I did not try ARM64.

      https://devblogs.microsoft.com/cppblog/msvc-backend-updates-in-visual-studio-2022-version-17-2/

      The C standard library functions log2 and log2f have been implemented as compiler intrinsic functions on x64 and ARM64. This allows the compiler to perform optimizations with log2 and log2f under /fp:fast x64 and ARM64.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Serge Gautherie Serge Gautherie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: