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

[vector] Optimize integral vector negation API

XMLWordPrintable

    • b16

      The VectorAPI neg operation is implemented with "sub" in the API implemention. And the masked negation is implemented with "not, blend, add, blend" instructions to fit the predicate feature for architecture that support it. These all can be optimized to a single "neg" instruction if architecture supports it. Besides the masked negation can be optimized to "sub, blend" for architectures that does not have predicate feature.

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

              Created:
              Updated:
              Resolved: