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
25 /**
26 * @test
27 * @bug 7200264
28 * @summary 7192963 changes disabled shift vectors
29 *
30 * @run shell Test7200264.sh
31 */
32
33 /*
34 * Copy of test/compiler/6340864/TestIntVect.java without performance tests.
35 */
36 public class TestIntVect {
37 private static final int ARRLEN = 997;
38 private static final int ITERS = 11000;
39 private static final int ADD_INIT = Integer.MAX_VALUE-500;
40 private static final int BIT_MASK = 0xEC80F731;
41 private static final int VALUE = 15;
42 private static final int SHIFT = 32;
43
44 public static void main(String args[]) {
45 System.out.println("Testing Integer vectors");
46 int errn = test();
47 if (errn > 0) {
48 System.err.println("FAILED: " + errn + " errors");
49 System.exit(97);
50 }
51 System.out.println("PASSED");
52 }
|
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
25 /**
26 * @test
27 * @bug 7200264
28 * @summary 7192963 changes disabled shift vectors
29 *
30 * @run shell Test7200264.sh
31 */
32
33 package compiler.c2.cr7200264;
34 /*
35 * Copy of test/compiler/6340864/TestIntVect.java without performance tests.
36 */
37 public class TestIntVect {
38 private static final int ARRLEN = 997;
39 private static final int ITERS = 11000;
40 private static final int ADD_INIT = Integer.MAX_VALUE-500;
41 private static final int BIT_MASK = 0xEC80F731;
42 private static final int VALUE = 15;
43 private static final int SHIFT = 32;
44
45 public static void main(String args[]) {
46 System.out.println("Testing Integer vectors");
47 int errn = test();
48 if (errn > 0) {
49 System.err.println("FAILED: " + errn + " errors");
50 System.exit(97);
51 }
52 System.out.println("PASSED");
53 }
|