[master] RFR: 8319185: [Lilliput] Enable and fix vectorization tests
Roman Kennke
rkennke at openjdk.org
Tue Jan 23 16:01:23 UTC 2024
The change does two (related) things:
It white-lists the UseCompactObjectHeaders flag in the IR testing framework. Without this, the flag would not be passed through to any IR framework test.
That first change makes 3 tests fail. Those are all vectorization tests, and they are failing because 'small' array types (4-byte-elements and smaller) no longer have their elements aligned at 8-byte-boundaries. This throws off vectorization because this only kicks in on aligned accesses. The mitigation is to disable the failing tests for now. #118 offered a more comprehensive solution, but it was also more intrusive. After some discussion with Emmanuel Peter and Maurizio Cimadamore, we came to the conclusion that disabling the tests for now might be a better approach, especially considering that we may soon no longer need special 4-byte-array-alignment anymore.
Testing:
- [x] compiler/c2/irTests/TestVectorizationMismatchedAccess.java +UCOH
- [x] compiler/c2/irTests/TestVectorizationNotRun.java +UCOH
- [x] compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java +UCOH
- [x] compiler/c2/irTests/TestVectorizationMismatchedAccess.java -UCOH
- [x] compiler/c2/irTests/TestVectorizationNotRun.java -UCOH
- [x] compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java -UCOH
- [x] tier1 +UCOH
- [x] tier1 -UCOH
-------------
Commit messages:
- 8319185: [Lilliput] Enable and fix vectorization tests
Changes: https://git.openjdk.org/lilliput/pull/125/files
Webrev: https://webrevs.openjdk.org/?repo=lilliput&pr=125&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319185
Stats: 11 lines in 4 files changed: 2 ins; 0 del; 9 mod
Patch: https://git.openjdk.org/lilliput/pull/125.diff
Fetch: git fetch https://git.openjdk.org/lilliput.git pull/125/head:pull/125
PR: https://git.openjdk.org/lilliput/pull/125
More information about the lilliput-dev
mailing list