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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              epeter Emanuel Peter
              epeter Emanuel Peter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: