Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable C2 from using AVX-512 on JDK 10 #32138

Merged
merged 1 commit into from
Jul 17, 2018

Commits on Jul 17, 2018

  1. Disable C2 from using AVX-512 on JDK 10

    The C2 compiler in JDK 10 appears to have an issue compiling to AVX-512
    instructions (on hardware that supports such). As a workaround, this
    commit adds a JVM flag on JDK 10+ to disable the use of AVX-512
    instructions until a fix is introduced to the JDK. Instead, we use a
    flag to enable AVX and AVX2 only.
    
    Note: Based on my reading of the C2 code, this flag does not appear to
    have any impact on hardware that does not support AVX2. I have tested
    this manually on an Intel Atom C2538 processor that supports neither AVX
    nor AVX2. I have also tested this manually on an Intel i5-3317U
    processor that supports AVX but not AVX2.
    jasontedor committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    c19ad97 View commit details
    Browse the repository at this point in the history