test/hotspot/jtreg/compiler/floatingpoint/TestFMABrokenC1RegAlloc.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 42877 hotspot/test/compiler/floatingpoint/TestFMABrokenC1RegAlloc.java@6cbcb55d5232
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42877
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     1
/*
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     2
 * Copyright (c) 2016, Red Hat, Inc. All rights reserved.
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     4
 *
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     7
 * published by the Free Software Foundation.
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     8
 *
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    13
 * accompanied this code).
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    14
 *
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    18
 *
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    21
 * questions.
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    22
 */
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    23
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    24
/**
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    25
 * @test
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    26
 * @bug 8171092
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    27
 * @summary C1's Math.fma() intrinsic doesn't correctly marks its inputs
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    28
 * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestFMABrokenC1RegAlloc
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    29
 *
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    30
 */
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    31
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    32
public class TestFMABrokenC1RegAlloc {
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    33
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    34
    double dummy0;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    35
    double dummy1;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    36
    double dummy2;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    37
    double dummy3;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    38
    double dummy4;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    39
    double dummy5;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    40
    double dummy6;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    41
    double dummy7;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    42
    double dummy8;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    43
    double dummy9;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    44
    double dummy10;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    45
    double dummy11;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    46
    double dummy12;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    47
    double dummy13;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    48
    double dummy14;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    49
    double dummy15;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    50
    double dummy16;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    51
    double dummy17;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    52
    double dummy18;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    53
    double dummy19;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    54
    double dummy20;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    55
    double dummy21;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    56
    double dummy22;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    57
    double dummy23;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    58
    double dummy24;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    59
    double dummy25;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    60
    double dummy26;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    61
    double dummy27;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    62
    double dummy28;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    63
    double dummy29;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    64
    double dummy30;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    65
    double dummy31;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    66
    double dummy32;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    67
    double dummy33;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    68
    double dummy34;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    69
    double dummy35;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    70
    double dummy36;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    71
    double dummy37;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    72
    double dummy38;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    73
    double dummy39;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    74
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    75
    double test(double a, double b, double c) {
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    76
        double dummy0 = this.dummy0;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    77
        double dummy1 = this.dummy1;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    78
        double dummy2 = this.dummy2;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    79
        double dummy3 = this.dummy3;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    80
        double dummy4 = this.dummy4;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    81
        double dummy5 = this.dummy5;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    82
        double dummy6 = this.dummy6;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    83
        double dummy7 = this.dummy7;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    84
        double dummy8 = this.dummy8;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    85
        double dummy9 = this.dummy9;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    86
        double dummy10 = this.dummy10;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    87
        double dummy11 = this.dummy11;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    88
        double dummy12 = this.dummy12;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    89
        double dummy13 = this.dummy13;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    90
        double dummy14 = this.dummy14;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    91
        double dummy15 = this.dummy15;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    92
        double dummy16 = this.dummy16;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    93
        double dummy17 = this.dummy17;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    94
        double dummy18 = this.dummy18;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    95
        double dummy19 = this.dummy19;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    96
        double dummy20 = this.dummy20;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    97
        double dummy21 = this.dummy21;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    98
        double dummy22 = this.dummy22;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
    99
        double dummy23 = this.dummy23;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   100
        double dummy24 = this.dummy24;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   101
        double dummy25 = this.dummy25;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   102
        double dummy26 = this.dummy26;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   103
        double dummy27 = this.dummy27;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   104
        double dummy28 = this.dummy28;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   105
        double dummy29 = this.dummy29;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   106
        double dummy30 = this.dummy30;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   107
        double dummy31 = this.dummy31;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   108
        double dummy32 = this.dummy32;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   109
        double dummy33 = this.dummy33;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   110
        double dummy34 = this.dummy34;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   111
        double dummy35 = this.dummy35;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   112
        double dummy36 = this.dummy36;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   113
        double dummy37 = this.dummy37;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   114
        double dummy38 = this.dummy38;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   115
        double dummy39 = this.dummy39;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   116
        return Math.fma(a, b, c) +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   117
            dummy0 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   118
            dummy1 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   119
            dummy2 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   120
            dummy3 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   121
            dummy4 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   122
            dummy5 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   123
            dummy6 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   124
            dummy7 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   125
            dummy8 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   126
            dummy9 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   127
            dummy10 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   128
            dummy11 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   129
            dummy12 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   130
            dummy13 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   131
            dummy14 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   132
            dummy15 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   133
            dummy16 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   134
            dummy17 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   135
            dummy18 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   136
            dummy19 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   137
            dummy20 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   138
            dummy21 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   139
            dummy22 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   140
            dummy23 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   141
            dummy24 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   142
            dummy25 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   143
            dummy26 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   144
            dummy27 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   145
            dummy28 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   146
            dummy29 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   147
            dummy30 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   148
            dummy31 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   149
            dummy32 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   150
            dummy33 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   151
            dummy34 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   152
            dummy35 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   153
            dummy36 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   154
            dummy37 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   155
            dummy38 +
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   156
            dummy39;
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   157
    }
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   158
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   159
    static public void main(String[] args) {
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   160
        TestFMABrokenC1RegAlloc t = new TestFMABrokenC1RegAlloc();
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   161
        for (int i = 0; i < 5000; i++) {
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   162
            if (t.test(5.0, 10.0, 7.0) != 57.0) {
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   163
                throw new RuntimeException("Failed");
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   164
            }
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   165
        }
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   166
    }
6cbcb55d5232 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
roland
parents:
diff changeset
   167
}