< prev index next >

test/hotspot/jtreg/compiler/vectorapi/reshape/TestVectorCastAVX512.java

Print this page

13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  */
23 
24 package compiler.vectorapi.reshape;
25 
26 import compiler.vectorapi.reshape.tests.TestVectorCast;
27 import compiler.vectorapi.reshape.utils.TestCastMethods;
28 import compiler.vectorapi.reshape.utils.VectorReshapeHelper;
29 
30 /*
31  * @test
32  * @bug 8259610
33  * @enablePreview
34  * @key randomness
35  * @modules jdk.incubator.vector
36  * @modules java.base/jdk.internal.misc
37  * @summary Test that vector cast intrinsics work as intended on avx512.
38  * @requires vm.cpu.features ~= ".*avx512.*"
39  * @library /test/lib /
40  * @run main compiler.vectorapi.reshape.TestVectorCastAVX512
41  */
42 public class TestVectorCastAVX512 {
43     public static void main(String[] args) {
44         VectorReshapeHelper.runMainHelper(
45                 TestVectorCast.class,
46                 TestCastMethods.AVX512_CAST_TESTS.stream(),
47                 "-XX:UseAVX=3");
48     }
49 }
50 

13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  */
23 
24 package compiler.vectorapi.reshape;
25 
26 import compiler.vectorapi.reshape.tests.TestVectorCast;
27 import compiler.vectorapi.reshape.utils.TestCastMethods;
28 import compiler.vectorapi.reshape.utils.VectorReshapeHelper;
29 
30 /*
31  * @test
32  * @bug 8259610

33  * @key randomness
34  * @modules jdk.incubator.vector
35  * @modules java.base/jdk.internal.misc
36  * @summary Test that vector cast intrinsics work as intended on avx512.
37  * @requires vm.cpu.features ~= ".*avx512.*"
38  * @library /test/lib /
39  * @run main compiler.vectorapi.reshape.TestVectorCastAVX512
40  */
41 public class TestVectorCastAVX512 {
42     public static void main(String[] args) {
43         VectorReshapeHelper.runMainHelper(
44                 TestVectorCast.class,
45                 TestCastMethods.AVX512_CAST_TESTS.stream(),
46                 "-XX:UseAVX=3");
47     }
48 }
49 
< prev index next >