Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8238289

Use _byteswap_ functions to implement Bytes::swap_uX on Windows

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      x86
    • OS:
      windows

      Description

      Use the _byteswap_ushort(), _byteswap_ulong() and _byteswap_uint64() functions on windows to switch endianess. These reduce down to a single bswap or ror instruction.

        Attachments

          Activity

            People

            Assignee:
            rschmelter Ralf Schmelter
            Reporter:
            rschmelter Ralf Schmelter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: