Mercurial > hg > truffle
annotate graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/optimize/ArrayCopy04.java @ 14991:64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 06 Apr 2014 17:46:24 +0200 |
parents | 390448a6b535 |
children |
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 |
14991
64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
7282
diff
changeset
|
25 import org.junit.*; |
64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
7282
diff
changeset
|
26 |
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
|
27 import com.oracle.graal.jtt.*; |
5644
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 /* |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
30 * Tests calls to the array copy method. |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
31 */ |
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
|
32 public class ArrayCopy04 extends JTTTest { |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
33 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
34 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
|
35 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
|
36 static { |
5746
17d2c3b72762
Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
5744
diff
changeset
|
37 // 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
|
38 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
|
39 } |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
40 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
41 @Before |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
42 public void setUp() { |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
43 System.currentTimeMillis(); |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
44 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
|
45 array[i] = array0[i]; |
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
49 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
|
50 System.arraycopy(array, srcPos, array, destPos, length); |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
51 return array; |
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
54 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
55 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
|
56 runTest("test", 0, 0, 0); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
57 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
58 |
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
|
59 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
60 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
|
61 runTest("test", 0, 0, -1); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
62 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
63 |
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
|
64 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
65 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
|
66 runTest("test", -1, 0, 0); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
67 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
68 |
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
|
69 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
70 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
|
71 runTest("test", 0, -1, 0); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
74 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
75 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
|
76 runTest("test", 0, 0, 2); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
77 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
78 |
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
|
79 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
80 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
|
81 runTest("test", 0, 1, 11); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
82 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
83 |
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
|
84 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
85 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
|
86 runTest("test", 1, 0, 11); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
87 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
88 |
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
|
89 @Test |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
90 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
|
91 runTest("test", 1, 1, -1); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
94 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
95 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
|
96 runTest("test", 0, 1, 2); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
99 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
100 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
|
101 runTest("test", 1, 0, 2); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
104 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
105 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
|
106 runTest("test", 1, 1, 2); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
109 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
110 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
|
111 runTest("test", 0, 0, 6); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
114 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
115 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
|
116 runTest("test", 0, 1, 5); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
119 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
120 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
|
121 runTest("test", 1, 0, 5); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
124 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
125 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
|
126 runTest("test", 1, 1, 5); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
129 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
130 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
|
131 runTest("test", 0, 0, 11); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
134 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
135 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
|
136 runTest("test", 0, 1, 10); |
5644
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 |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
139 @Test |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
140 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
|
141 runTest("test", 1, 0, 10); |
5644
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
142 } |
02f76c2ee0f0
Add aliased case array copy jtt tests
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
143 } |