From 0a197c4e57a3d575ee9bc8ee4f0f62fd28a0b2b0 Mon Sep 17 00:00:00 2001 From: vkempik Date: Fri, 18 Mar 2016 17:23:07 +0300 Subject: [PATCH] 8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail Reviewed-by: kvn --- .../montgomerymultiply/MontgomeryMultiplyTest.java | 12 ++++++------ .../intrinsics/squaretolen/TestSquareToLen.java | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java b/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java index 36c3060aa..5ddca7a0d 100644 --- a/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java +++ b/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java @@ -39,12 +39,12 @@ import java.util.Random; * @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 { diff --git a/test/compiler/intrinsics/squaretolen/TestSquareToLen.java b/test/compiler/intrinsics/squaretolen/TestSquareToLen.java index d472b7eca..47c1e47ca 100644 --- a/test/compiler/intrinsics/squaretolen/TestSquareToLen.java +++ b/test/compiler/intrinsics/squaretolen/TestSquareToLen.java @@ -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 -- GitLab