OpenCL vec_step feature implementation

> In fact, vec_step is also used in AltiVec (see PIM 2.5.3, where it is
> properly called an operator).
Exactly! vec_step for AltiVec can be simply implemented in the header
via overloaded functions but the suggested implementation is more
correct.

Yes, an overloaded function can operate on a variable of a type, not just on a type.

> Perhaps UnaryOperatorOnExprOrType?
Or UnaryOpOnExprOrType? :slight_smile:

Anton.

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.