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

AArch64: Sync SVE related CPU features with VM options

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b08

      Currently the aarch64 vm options like "UseSVE" is not synced with the relative cpu feature (i.e. "sve"). It means on the sve system, if people use "-XX:UseSVE=0", the "sve" feature in JVM is not masked. This will make the IR checks in IR framework complex. It has to both check the cpu features and vm options to make sure the test is run under sve environment. Here is an example:

      ```
      @IR(failOn = IRNode.AND_V, applyIfCPUFeature = {"asimd", "true"}, applyIf = {"UseSVE", "0"})
      ```

      See the discussion details here: https://github.com/openjdk/jdk/pull/14533#issuecomment-1600454917

            pli Pengfei Li
            xgong Xiaohong Gong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: