[jdk21u-dev] RFR: 8310308: IR Framework: check for type and size of vector nodes

Goetz Lindenmaier goetz at openjdk.org
Thu Dec 14 14:18:51 UTC 2023


I backport this to improve testing of C2 in 22u. It will simplify backporting tests of fixes to C2, as, e.g. " 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally"

I had to trivially resolve three files:

test/hotspot/jtreg/compiler/loopopts/superword/TestDependencyOffsets.java
Resolved the bugid in comment.

patching file test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java
patching file test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java
These had to be resolved because "8308340: C2: Idealize Fma nodes" is not in 21. Trivial.
That change is huge thus not a candidate for backport.

Further I include "8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake".  This is a follow-ip fix of the tests.

All tests passed locally. 

It's a test-only change.

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

Commit messages:
 - Backport /5c4f1dc43ebd1ad699923e0082cfed72ba414982
 - Backport a02d65efccaab5bb7c2f2aad4a2eb5062f545ef8

Changes: https://git.openjdk.org/jdk21u-dev/pull/29/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=29&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310308
  Stats: 3182 lines in 65 files changed: 1114 ins; 21 del; 2047 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/29.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/29/head:pull/29

PR: https://git.openjdk.org/jdk21u-dev/pull/29


More information about the jdk-updates-dev mailing list