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.
-
Xiaohong Gong
-
Xiaohong Gong
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: