--- old/test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java 2019-04-30 17:18:55.850965222 -0700 +++ new/test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java 2019-04-30 17:18:55.746965225 -0700 @@ -86,6 +86,7 @@ test_divc_n(a0, a1); test_divv(a0, a1, -VALUE); test_diva(a0, a1, a3); + test_negc(a0, a1); } // Test and verify results System.out.println("Verification"); @@ -340,6 +341,17 @@ errn += verify("test_diva_n: ", i, a0[i], ((ADD_INIT+i)/(-VALUE))); } + test_negc(a0, a1); + errn += verify("test_negc: ", 0, a0[0], (Float.NaN)); + errn += verify("test_negc: ", 1, a0[1], (Float.NEGATIVE_INFINITY)); + errn += verify("test_negc: ", 2, a0[2], (Float.POSITIVE_INFINITY)); + errn += verify("test_negc: ", 3, a0[3], (float)(-Float.MAX_VALUE)); + errn += verify("test_negc: ", 4, a0[4], (float)(-Float.MIN_VALUE)); + errn += verify("test_negc: ", 5, a0[5], (float)(-Float.MIN_NORMAL)); + for (int i=6; i 0) @@ -469,6 +481,13 @@ end = System.currentTimeMillis(); System.out.println("test_diva_n: " + (end - start)); + start = System.currentTimeMillis(); + for (int i=0; i