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

VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases

XMLWordPrintable

    • b10

      If VectorMask.fromLong(SPECIES, l) would set or unset all lanes, return maskAll(true) or maskAll(false) directly. This enables further optimizations that recognize maskAll patterns (see [1]).
       
      [1] https://github.com/openjdk/jdk/pull/24674

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

              Created:
              Updated:
              Resolved: