equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 |
23 |
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 8035968 |
26 * @bug 8035968 |
27 * @summary Verify that SHA-1 multi block intrinsic is actually used. |
27 * @summary Verify that SHA-1 multi block intrinsic is actually used. |
28 * @library /testlibrary /test/lib / |
28 * @library /test/lib / |
29 * @modules java.base/jdk.internal.misc |
29 * @modules java.base/jdk.internal.misc |
30 * java.management |
30 * java.management |
31 * |
31 * |
32 * @build compiler.testlibrary.intrinsics.Verifier |
32 * @build sun.hotspot.WhiteBox |
33 * compiler.intrinsics.sha.sanity.TestSHA1MultiBlockIntrinsics |
|
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
35 * sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * sun.hotspot.WhiteBox$WhiteBoxPermission |
36 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
35 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
37 * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 |
36 * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 |
38 * -XX:Tier4InvocationThreshold=500 |
37 * -XX:Tier4InvocationThreshold=500 |