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

Optimize constant input transcendental APIs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot
    • None

      JDK-8353686 intrinsified Math.cbrt and while JDK-8338694 intrinsified Math.tanh and JDK-8348638 added some tweaks to enhance performance of tanh for large inputs greater than |X| > 22.0 while we still see tanh performance degradation with some input value tracked by JDK-8355238

      However, none of the above JBS addresses performance degradation related to compile-time constant inputs. Existing intrinsic creation framework performs intrinsification eagerly during parse time or lazily during optimization stage, lazy intrinsification gives enough opportunities to constants to seep into the ideal graph.

      The current framework also does not facilitate the application of identity transforms, which is tracked by JDK-8350831.

       

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: