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

C2: intrinsify Math.max(long,long) and Math.min(long,long)

XMLWordPrintable

      As discussed in the recent reduction speedup work:
      https://github.com/openjdk/jdk/pull/13056 JDK-8302652

      We shoud intrinsify it, and keep a MaxL / MinL node in the graph.
      In the backend, we can then use instructions, or revert back to
      a compare and jump / CMoveL.

      Benefit: SuperWord could vectorize MaxL/MinL. Probably generally leads to speedups.

            galder Galder ZamarreƱo
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: