RFR: 8317572: C2 SuperWord: refactor/improve TraceSuperWord, replace VectorizeDebugOption with TraceAutoVectorization

Emanuel Peter epeter at openjdk.org
Fri Jan 26 13:34:48 UTC 2024


Subtask of https://github.com/openjdk/jdk/pull/16620

I got approval to remove VectorizeDebugOption: [JDK-8320668](https://bugs.openjdk.org/browse/JDK-8320668)

I want a more general flag for AutoVectorization, that can trace different components of AutoVectorization.
It should be a CompileCommand, so that it can select which methods it traces for.

TraceSuperWord should still look similar, and select a subset of the TraceAutoVectorization components (those for SuperWord), but still apply to all classes/methods.

With more refactoring later in [JDK-8315361](https://bugs.openjdk.org/browse/JDK-8315361), this flag should become more usable and interpretable.

How to use the flag:
TODO

-------------

Commit messages:
 - a bit more
 - reordering some things
 - 8317572

Changes: https://git.openjdk.org/jdk/pull/17586/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17586&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317572
  Stats: 476 lines in 10 files changed: 380 ins; 40 del; 56 mod
  Patch: https://git.openjdk.org/jdk/pull/17586.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17586/head:pull/17586

PR: https://git.openjdk.org/jdk/pull/17586


More information about the hotspot-compiler-dev mailing list