Use _byteswap_ functions to implement Bytes::swap_uX on Windows

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: