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

[JVMCI] Export VM_Version::supports_avx512_simd_sort to JVMCI compiler

XMLWordPrintable

    • master

      HotSpot selects between AVX512 and AVX2 implementations of array sort/partition stubs based on the return value of VM_Version::supports_avx512_simd_sort. The AVX2 version supports fewer element types than the AVX512 version and may fail at runtime if unsupported types are encountered. This capability information should be exposed to the JVMCI compiler to properly guard against incorrect intrinsification. This is especially important because VM_Version::supports_avx512_simd_sort includes a special exclusion rule for AMD Zen4, due to performance considerations.

            yzheng Yudi Zheng
            yzheng Yudi Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: