MulExactINonConstantTest.java revision 11833:1cbffa2beba6
1190214Srpaulo/*
2190214Srpaulo * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
3190214Srpaulo * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4190214Srpaulo *
5190214Srpaulo * This code is free software; you can redistribute it and/or modify it
6190214Srpaulo * under the terms of the GNU General Public License version 2 only, as
7190214Srpaulo * published by the Free Software Foundation.
8190214Srpaulo *
9190214Srpaulo * This code is distributed in the hope that it will be useful, but WITHOUT
10190214Srpaulo * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11190214Srpaulo * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12190214Srpaulo * version 2 for more details (a copy is included in the LICENSE file that
13190214Srpaulo * accompanied this code).
14190214Srpaulo *
15190214Srpaulo * You should have received a copy of the GNU General Public License version
16190214Srpaulo * 2 along with this work; if not, write to the Free Software Foundation,
17190214Srpaulo * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18190214Srpaulo *
19190214Srpaulo * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20190214Srpaulo * or visit www.oracle.com if you need additional information or have any
21190214Srpaulo * questions.
22190214Srpaulo */
23190214Srpaulo
24190214Srpaulo/*
25190214Srpaulo * @test
26190214Srpaulo * @bug 8026844
27190214Srpaulo * @summary Test non constant multiplyExact
28190214Srpaulo * @library /test/lib /
29190214Srpaulo * @modules java.base/jdk.internal.misc
30190214Srpaulo *          java.management
31190214Srpaulo *
32190214Srpaulo * @run main compiler.intrinsics.mathexact.MulExactINonConstantTest
33190214Srpaulo */
34190214Srpaulo
35190214Srpaulopackage compiler.intrinsics.mathexact;
36190214Srpaulo
37214518Srpaulopublic class MulExactINonConstantTest {
38190214Srpaulo    public static void main(String[] args) {
39190214Srpaulo        Verify.NonConstantTest.verify(new Verify.MulExactI());
40190214Srpaulo        Verify.LoadTest.verify(new Verify.MulExactI());
41190214Srpaulo    }
42190214Srpaulo}
43190214Srpaulo