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

Add mask IR for partial vector operations for ARM SVE

    XMLWordPrintable

Details

    • b06
    • aarch64
    • linux

    Description

      SVE supports vector operations whose vector length is lower than the hardware supported max vector length. We call them partial vector operations. For some operations like vector load/store and the reductions, we need to generate a mask based on the vector length and use it to control the operations to make sure the result is correct. Currently the mask is generated in the backend that is together with each match rules. This will generate many duplicate instructions inside the loop for the vector operations that have the same vector length, which is not friendly to performance. To improve it, we'd better to remove the duplicate instructions and hoist it out. Adding a mask IR for these ops in the mid-end can resolve it.

      Attachments

        Issue Links

          Activity

            People

              xgong Xiaohong Gong (Inactive)
              xgong Xiaohong Gong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: