changeset 7944:e443d4e588a3

8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail Reviewed-by: kvn
author vkempik
date Fri, 18 Mar 2016 17:23:07 +0300
parents a4b071e9b629
children b5b3db42efca
files test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java test/compiler/intrinsics/squaretolen/TestSquareToLen.java
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java	Thu Mar 17 17:09:10 2016 +0300
+++ b/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java	Fri Mar 18 17:23:07 2016 +0300
@@ -39,12 +39,12 @@
  * @library /testlibrary
  * @requires (os.simpleArch == "x64") & (os.family != "windows")
  * @summary Verify that the Montgomery multiply intrinsic works and correctly checks its arguments.
- * @run main/othervm -XX:+UseMontgomerySquareIntrinsic -XX:+UseMontgomeryMultiplyIntrinsic
- *      MontgomeryMultiplyTest
- * @run main/othervm -XX:+UseMontgomerySquareIntrinsic -XX:-UseMontgomeryMultiplyIntrinsic
- *      MontgomeryMultiplyTest
- * @run main/othervm -XX:-UseMontgomerySquareIntrinsic -XX:+UseMontgomeryMultiplyIntrinsic
- *      MontgomeryMultiplyTest
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseMontgomerySquareIntrinsic
+ *      -XX:+UseMontgomeryMultiplyIntrinsic MontgomeryMultiplyTest
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseMontgomerySquareIntrinsic
+ *      -XX:-UseMontgomeryMultiplyIntrinsic MontgomeryMultiplyTest
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseMontgomerySquareIntrinsic
+ *      -XX:+UseMontgomeryMultiplyIntrinsic MontgomeryMultiplyTest
  */
 
 public class MontgomeryMultiplyTest {
--- a/test/compiler/intrinsics/squaretolen/TestSquareToLen.java	Thu Mar 17 17:09:10 2016 +0300
+++ b/test/compiler/intrinsics/squaretolen/TestSquareToLen.java	Fri Mar 18 17:23:07 2016 +0300
@@ -28,6 +28,7 @@
  * @summary Add C2 x86 intrinsic for BigInteger::squareToLen() method
  *
  * @run main/othervm/timeout=600 -XX:-TieredCompilation -Xbatch
+ *      -XX:+IgnoreUnrecognizedVMOptions
  *      -XX:+UseSquareToLenIntrinsic
  *      -XX:CompileCommand=exclude,TestSquareToLen::main
  *      -XX:CompileCommand=option,TestSquareToLen::base_multiply,ccstr,DisableIntrinsic,_squareToLen