Mercurial > hg > truffle
annotate graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/optimize/ArrayCopy04.java @ 7282:390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
the HP_series and FloatingReads tests have been disabled temporarily
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 20 Dec 2012 14:59:57 +0100 |
parents | 17d2c3b72762 |
children | 64dcb92ee75a |
rev | line source |
---|---|
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
1 /* |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
4 * |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
8 * |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
13 * accompanied this code). |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
14 * |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
18 * |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
21 * questions. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
22 */ |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
23 package com.oracle.graal.jtt.optimize; |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
24 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
25 import com.oracle.graal.jtt.*; |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
26 import org.junit.*; |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
27 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
28 /* |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
29 * Tests calls to the array copy method. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
30 */ |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
31 public class ArrayCopy04 extends JTTTest { |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
32 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
33 public static byte[] array = new byte[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
34 public static byte[] array0 = new byte[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
5744
51cee50d1d11
ensure System.arrycopy is resolved in JTT tests that use it
Doug Simon <doug.simon@oracle.com>
parents:
5644
diff
changeset
|
35 static { |
5746
17d2c3b72762
Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
5744
diff
changeset
|
36 // Ensure System is resolved |
5744
51cee50d1d11
ensure System.arrycopy is resolved in JTT tests that use it
Doug Simon <doug.simon@oracle.com>
parents:
5644
diff
changeset
|
37 System.arraycopy(array, 0, array, 0, array.length); |
51cee50d1d11
ensure System.arrycopy is resolved in JTT tests that use it
Doug Simon <doug.simon@oracle.com>
parents:
5644
diff
changeset
|
38 } |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
39 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
40 @Before |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
41 public void setUp() { |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
42 System.currentTimeMillis(); |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
43 for (int i = 0; i < array.length; i++) { |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
44 array[i] = array0[i]; |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
45 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
46 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
47 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
48 public static byte[] test(int srcPos, int destPos, int length) { |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
49 System.arraycopy(array, srcPos, array, destPos, length); |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
50 return array; |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
51 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
52 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
53 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
54 public void run0() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
55 runTest("test", 0, 0, 0); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
56 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
57 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
58 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
59 public void run1() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
60 runTest("test", 0, 0, -1); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
61 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
62 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
63 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
64 public void run2() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
65 runTest("test", -1, 0, 0); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
66 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
67 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
68 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
69 public void run3() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
70 runTest("test", 0, -1, 0); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
71 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
72 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
73 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
74 public void run4() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
75 runTest("test", 0, 0, 2); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
76 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
77 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
78 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
79 public void run5() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
80 runTest("test", 0, 1, 11); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
81 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
82 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
83 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
84 public void run6() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
85 runTest("test", 1, 0, 11); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
86 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
87 |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
88 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
89 public void run7() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
90 runTest("test", 1, 1, -1); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
91 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
92 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
93 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
94 public void run8() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
95 runTest("test", 0, 1, 2); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
96 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
97 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
98 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
99 public void run9() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
100 runTest("test", 1, 0, 2); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
101 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
102 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
103 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
104 public void run10() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
105 runTest("test", 1, 1, 2); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
106 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
107 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
108 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
109 public void run11() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
110 runTest("test", 0, 0, 6); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
111 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
112 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
113 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
114 public void run12() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
115 runTest("test", 0, 1, 5); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
116 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
117 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
118 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
119 public void run13() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
120 runTest("test", 1, 0, 5); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
121 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
122 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
123 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
124 public void run14() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
125 runTest("test", 1, 1, 5); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
126 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
127 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
128 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
129 public void run15() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
130 runTest("test", 0, 0, 11); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
131 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
132 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
133 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
134 public void run16() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
135 runTest("test", 0, 1, 10); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
136 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
137 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
138 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
139 public void run17() throws Throwable { |
7282
390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
Doug Simon <doug.simon@oracle.com>
parents:
5746
diff
changeset
|
140 runTest("test", 1, 0, 10); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
141 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
142 } |