Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178800

compiler/c2/PolynomialRoot.java fails on Xeon Phi linux host with UseAVX=3

XMLWordPrintable

    • b171
    • Verified

        compiler/c2/PolynomialRoot.java fails on Xeon Phi linux host with UseAVX=3

        Output from the test:

        ----------System.err:(55/2425)----------
        ======== n=4
        0 2.0 1.7071067811865475 0.7071067811865476
        1 -4.0 0.2928932188134524 -0.7071067811865476
        2 6.0 1.7071067811865475 -0.7071067811865476
        3 -4.0 0.2928932188134524 0.7071067811865476
        4 1.0
        ======== n=4
        0 0.0 0.6666666634803002 0.0
        1 -4.0 -1.0000000000000002 0.0
        2 8.0 0.6666666698530332 0.0
        3 3.0 -4.163336342344337E-17 0.0
        4 -9.0
        ======== n=4
        0 -1.0 1.0 0.0
        1 0.0 -1.0 0.0
        2 2.0 1.0 0.0
        3 0.0 -1.0 0.0
        4 -1.0
        ======== n=4
        0 -5.0 0.9999999770581592 0.0
        1 2.0 -1.6666666666666674 0.0
        2 8.0 1.0000000229418409 0.0
        3 -2.0 -0.9999999999999993 0.0
        4 -3.0
        ======== n=3
        0 0.0 -1.4142135623730951 0.0
        1 -2.0 1.4142135623730951 0.0
        2 0.0 -9.999199243478975E-17 0.0
        3 1.0
        ======== n=3
        0 0.0 0.0 0.0
        1 2.0 -0.0 -1.414213562373095
        2 0.0 -0.0 1.414213562373095
        3 1.0
        java.lang.RuntimeException: order=4 p[0]=0.4789637572207226;p[1]=0.0;p[2]=9.0;p[3]=0.0;p[4]=6.0;
        x.r=0.0 x.i=0.48345773787630514
        res/sabs=-0.026282681826419383 ims/sabs=0.0 sabs=49.34186511409237
        res=-1.296836541515792 ims=0.0 n=4 eps=1.0E-6 sabs>1/eps=false f1=true f2=true t=155
        at compiler.c2.PolynomialRoot.checkValues(PolynomialRoot.java:449)
        at compiler.c2.PolynomialRoot.testRoots(PolynomialRoot.java:507)
        at compiler.c2.PolynomialRoot.main(PolynomialRoot.java:781)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

              mcberg Michael Berg (Inactive)
              dfazunen Dmitry Fazunenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: