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

x86: Add reasonable constraints between AVX and SSE

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • None
    • b23

      Currently it's possible to completely disable SSE while keeping AVX enabled, e.g. -XX:UseSSE=0

      This can cause some surprising asserts in tests when using some AVX instructions, and a need to sometimes guard features by the availability of both AVX at some level and SSE at some level,

      Constraining AVX at any level require SSE to be fully enabled would help to reduce the number of hypothetical test targets. That is: disabling or limiting SSE should unconditionally disable AVX. Perhaps we need something slightly looser, though a cursory examination has not been able to find a CPU with AVX features that misses some or all SSE features.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: