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

Use _byteswap_ functions to implement Bytes::swap_uX on Windows

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • None
    • b18
    • x86
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: