Skip to content

add operators to scalar mask_v

Paul Seyfert requested to merge pseyfert/LHCb:mask_v_operators into master

The && and || operators for scalar mask_v should (imo) perform logic rather than bitwise operations such that the && of two mask_v that would cast to true will still be true. As I try to demonstrate here this is not the case with the current implementation. (From the comments it is not obvious to me if the current behaviour was intentional).

Furthermore, I add &, |, and ^ operators to the scalar mask_v to match the API for other SIMD namespaces.

Merge request reports

Loading