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

[Lilliput/JDK17] Revert disabling vzeroupper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • None
    • repo-lilliput-17
    • hotspot
    • generic
    • generic

    Description

      While looking through the diff between Lilliput/JDK17 and upstream JDK17, I noticed one change in library_call.cpp that should not be there, it probably slipped through from debugging.

          void clear_upper_avx() {
        #ifdef X86
      - if (UseAVX >= 2) {
      + if (false && UseAVX >= 2) {
              C->set_clear_upper_avx(true);
            }
        #endif
          }

      This prevents emitting vzeroupper instructions on x86_64. I believe this will have performance impact when transitioning between AVX and SSE code. We should revert this.

      Attachments

        Issue Links

          Activity

            People

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: