mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 20:18:49 +00:00
8334083: C2 SuperWord: TestCompatibleUseDefTypeSize.java fails with -XX:+AlignVector after JDK-8325155
Reviewed-by: chagedorn, kvn
This commit is contained in:
parent
13dce296fc
commit
edf7f055ee
@ -359,6 +359,7 @@ public class TestCompatibleUseDefTypeSize {
|
|||||||
IRNode.ADD_VI, "> 0",
|
IRNode.ADD_VI, "> 0",
|
||||||
IRNode.STORE_VECTOR, "> 0"},
|
IRNode.STORE_VECTOR, "> 0"},
|
||||||
applyIfPlatform = {"64-bit", "true"},
|
applyIfPlatform = {"64-bit", "true"},
|
||||||
|
applyIf = {"AlignVector", "false"}, // a[i] and a[i+1] cannot both be aligned.
|
||||||
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
|
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
|
||||||
// Used to not vectorize because of "alignment boundaries".
|
// Used to not vectorize because of "alignment boundaries".
|
||||||
// Assume 64 byte vector width:
|
// Assume 64 byte vector width:
|
||||||
@ -376,6 +377,7 @@ public class TestCompatibleUseDefTypeSize {
|
|||||||
IRNode.ADD_VI, "> 0",
|
IRNode.ADD_VI, "> 0",
|
||||||
IRNode.STORE_VECTOR, "> 0"},
|
IRNode.STORE_VECTOR, "> 0"},
|
||||||
applyIfPlatform = {"64-bit", "true"},
|
applyIfPlatform = {"64-bit", "true"},
|
||||||
|
applyIf = {"AlignVector", "false"}, // a[i] and a[i+1] cannot both be aligned.
|
||||||
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
|
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
|
||||||
// same as test3, but hand-unrolled
|
// same as test3, but hand-unrolled
|
||||||
static Object[] test4(int[] a, int[] b) {
|
static Object[] test4(int[] a, int[] b) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user