RFR: 8325159: C2 SuperWord: measure time for CITime

Emanuel Peter epeter at openjdk.org
Fri Feb 2 10:59:09 UTC 2024


I want to add SuperWord / AutoVectorization time to `CITime`.

This is for @vnkozlov who requested I measure the time difference for https://github.com/openjdk/jdk/pull/17624

Example:

...
    C2 Compile Time:        2.757 s
       Parse:                 0.027 s
       Optimize:              2.505 s
         Escape Analysis:       0.000 s
           Conn Graph:            0.000 s
           Macro Eliminate:       0.000 s
         GVN 1:                 0.007 s
         Incremental Inline:    0.000 s
           IdealLoop:             0.000 s
          (IGVN:                  0.000 s)
          (Inline:                0.000 s)
          (Prune Useless:         0.000 s)
           Other:                 0.000 s
         Vector:                0.000 s
           Box elimination:     0.000 s
             IGVN:              0.000 s
             Prune Useless:     0.000 s
         Renumber Live:         0.000 s
         IdealLoop:             2.345 s
           AutoVectorize:       1.507 s       <------------ added this
         IdealLoop Verify:      0.000 s
         Cond Const Prop:       0.014 s
         GVN 2:                 0.008 s
         Macro Expand:          0.023 s
         Barrier Expand:        0.000 s
         Graph Reshape:         0.004 s
         Other:                 0.103 s
...

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

Commit messages:
 - 8325159

Changes: https://git.openjdk.org/jdk/pull/17683/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17683&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325159
  Stats: 3 lines in 3 files changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17683.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17683/head:pull/17683

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


More information about the hotspot-compiler-dev mailing list