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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • b18
    • aarch64
    • linux

      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.

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

              Created:
              Updated:
              Resolved: