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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • 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.

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

              Created:
              Updated:
              Resolved: