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

Use _byteswap_ functions to implement Bytes::swap_uX on Windows

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • None
    • b18
    • x86
    • windows

      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.

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

              Created:
              Updated:
              Resolved: