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

C2: Consider enabling auto-vectorization for simple reductions

    XMLWordPrintable

    Details

      Description

      Reconsider the decision to disable autovectorization for simple reductions made by JDK-8078563.

      Richard Startin reports [1] that artificially complicating reduction operation (to make it eligible for auto-vectorization) produces a better result than original code (sum of elements).

      [1] http://richardstartin.uk/tricking-java-into-adding-up-arrays-faster/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: