6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
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 * @test
26 * @enablePreview
27 * @modules jdk.incubator.vector java.base/jdk.internal.vm.annotation
28 #if[MaxBit]
29 * @run testng/othervm --add-opens jdk.incubator.vector/jdk.incubator.vector=ALL-UNNAMED
30 * -XX:-TieredCompilation $vectorteststype$
31 #else[MaxBit]
32 * @run testng/othervm -XX:-TieredCompilation $vectorteststype$
33 #end[MaxBit]
34 *
35 */
36
37 #warn This file is preprocessed before being compiled
38
39 import java.lang.foreign.MemorySegment;
40 import java.lang.foreign.Arena;
41 import java.lang.foreign.ValueLayout;
42 import jdk.incubator.vector.$Type$Vector;
43 import jdk.incubator.vector.VectorMask;
44 #if[MaxBit]
45 import jdk.incubator.vector.VectorShape;
46 #end[MaxBit]
|
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
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 * @test
26 * @modules jdk.incubator.vector java.base/jdk.internal.vm.annotation
27 #if[MaxBit]
28 * @run testng/othervm --add-opens jdk.incubator.vector/jdk.incubator.vector=ALL-UNNAMED
29 * -XX:-TieredCompilation $vectorteststype$
30 #else[MaxBit]
31 * @run testng/othervm -XX:-TieredCompilation $vectorteststype$
32 #end[MaxBit]
33 *
34 */
35
36 #warn This file is preprocessed before being compiled
37
38 import java.lang.foreign.MemorySegment;
39 import java.lang.foreign.Arena;
40 import java.lang.foreign.ValueLayout;
41 import jdk.incubator.vector.$Type$Vector;
42 import jdk.incubator.vector.VectorMask;
43 #if[MaxBit]
44 import jdk.incubator.vector.VectorShape;
45 #end[MaxBit]
|