mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
fix IR rule that failed on neon
This commit is contained in:
parent
3abe02a0c5
commit
0d585b18f6
@ -272,7 +272,8 @@ public class TestVectorAlgorithms {
|
|||||||
@Test
|
@Test
|
||||||
@IR(counts = {IRNode.ADD_VI, "> 0",
|
@IR(counts = {IRNode.ADD_VI, "> 0",
|
||||||
IRNode.STORE_VECTOR, "> 0"},
|
IRNode.STORE_VECTOR, "> 0"},
|
||||||
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
|
applyIfCPUFeature = {"sse4.1", "true"})
|
||||||
|
// Note: also works with NEON/asimd, but only with TieredCompilation.
|
||||||
public Object iotaI_VectorAPI(int[] r) {
|
public Object iotaI_VectorAPI(int[] r) {
|
||||||
return VectorAlgorithmsImpl.iotaI_VectorAPI(r);
|
return VectorAlgorithmsImpl.iotaI_VectorAPI(r);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user