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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • core-libs

      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:
            1 Start watching this issue

              Created:
              Updated: