8269029: compiler/codegen/TestCharVect2.java fails for client VMs

Reviewed-by: kvn, jiefu
This commit is contained in:
Christoph Göttschkes 2021-06-21 11:08:33 +00:00 committed by Jie Fu
parent 1692fd2eba
commit cbec37d45d

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,14 @@
* @summary incorrect results of char vectors right shift operation
*
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m compiler.codegen.TestCharVect2
*/
/**
* @test
* @bug 8001183
* @summary incorrect results of char vectors right shift operation
* @requires vm.compiler2.enabled | vm.graal.enabled
*
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=8 compiler.codegen.TestCharVect2
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=16 compiler.codegen.TestCharVect2
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=32 compiler.codegen.TestCharVect2