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

Build on linux with GCC 7.5.0 fails after 8319577

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • core-libs
    • None
    • b03

      After JDK-8319577, my local build (linux & GCC 7.5.0) fails with the following error message. It seems the old GCC (such as 7.5.0 locally) can't identify the constants well.

      ```
      /home/lgx/source/java/jdkvm/src/java.base/linux/native/libsimdsort/avx512-64bit-qsort.hpp:313:17: error: the last argument must be an 8-bit immediate
                   v = _mm512_permutex_epi64(v, mask);
                       ^
      /home/lgx/source/java/jdkvm/src/java.base/linux/native/libsimdsort/avx512-64bit-qsort.hpp: In static member function 'static typename vtype::reg_t avx512_64bit_swizzle_ops::reverse_n(typename vtype::reg_t) [with vtype = zmm_vector<double>; int scale = 4]':
      /home/lgx/source/java/jdkvm/src/java.base/linux/native/libsimdsort/avx512-64bit-qsort.hpp:313:17: error: the last argument must be an 8-bit immediate
                   v = _mm512_permutex_epi64(v, mask);
                       ^
      ```

            gli Guoxiong Li
            gli Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: