Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @library /test/lib /
* @modules jdk.incubator.vector
* @requires vm.debug & vm.compiler2.enabled
* @run main/othervm --add-modules=jdk.incubator.vector compiler.c2.TestDependsOnTestSqrtHFAssertion
* @run main/othervm --add-modules=jdk.incubator.vector -Xbatch compiler.c2.TestDependsOnTestSqrtHFAssertion
*/

package compiler.c2;
Expand All @@ -54,15 +54,15 @@ public static int micro(int x1, int x2, int y, int ctr) {
}
}
}
}
}
}
return res;
}

public static void main(String [] args) {
int res = 0;
for (int i = 0 ; i < 100000; i++) {
res += micro(x1, x2, y, i);
for (int i = 0 ; i < 10000; i++) {
res += micro(x1, x2, y, i % 100);
}
IO.println("PASS" + res);
}
Expand Down