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

Increase stride size allowing unrolling more loops

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      Currently effective stride size is 8 which limits which loops can be unrolled.

      Originally motivated by Panama vector support discussion:
      I.e. For vector operations the loops with int will get unrolled on AVX 256, but short and bytes are not, that's because stride size for int is 8, and short, 16, bytes 32.

      Orignal discussion:
      https://mail.openjdk.java.net/pipermail/panama-dev/2021-June/014310.html

      Old ticket which can be related to this (I can't figure actual cause)
      https://mail.openjdk.java.net/pipermail/panama-dev/2021-June/014310.html

      Pull request with sample code
      https://github.com/openjdk/jdk/pull/4658



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yyang Yi Yang
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: