annotate graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/optimize/ArrayCopy06.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
1 /*
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
4 *
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
7 * published by the Free Software Foundation.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
8 *
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
13 * accompanied this code).
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
14 *
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
18 *
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
21 * questions.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
22 */
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
23 package com.oracle.graal.jtt.optimize;
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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.*;
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
28
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
29 /*
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
30 * Tests calls to the array copy method.
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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 ArrayCopy06 extends JTTTest {
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
33
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
34 public static short[] array = new short[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
35 public static short[] array0 = new short[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
36 static {
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
37 // Ensure System is resolved
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
38 System.arraycopy(array, 0, array, 0, array.length);
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
39 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
40
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
41 @Before
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
42 public void setUp() {
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
43 System.currentTimeMillis();
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
44 for (int i = 0; i < array.length; i++) {
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
45 array[i] = array0[i];
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
46 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
47 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
48
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
49 public static short[] test(int srcPos, int destPos, int length) {
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
50 System.arraycopy(array, srcPos, array, destPos, length);
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
51 return array;
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
52 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
53
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
54 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
57 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
62 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
67 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
72 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
73
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
74 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
77 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
82 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
87 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
92 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
93
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
94 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
97 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
98
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
99 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
102 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
103
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
104 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
107 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
108
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
109 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
112 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
113
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
114 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
117 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
118
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
119 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
122 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
123
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
124 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
127 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
128
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
129 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
132 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
133
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
134 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
137 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
138
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
139 @Test
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
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);
5746
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
142 }
17d2c3b72762 Fix aliased case problem intoduced in last array copy snippets
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff changeset
143 }