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

AArch64: Optimize vector "not/andNot" for NEON and SVE

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      aarch64
    • OS:
      linux

      Description

      For vector "not", current pattern is: "XorV (Replicate -1) ". This can be improved with a single instruction "not".
      For vector "andNot", current pattern is "(AndV src1 (XorV src2 (ReplicateB m1)))". This can be improved with a single instruction "bic".

      These optimizations can be supported by adding match rules for Arm NEON and SVE.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xgong Xiaohong Gong
              Reporter:
              xgong Xiaohong Gong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: