-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various masked operations #2428
Various masked operations #2428
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
504b82d
to
d76ec00
Compare
Remove OrZero suffix and fix MaskedOr docs Update naming of masked table lookups to follow convention Optimise MaskedReduceMin/Max Add TODOs Remove the masked table lookups To be added alongside the platform specialisations Remove unused macros Rename HWY_SVE_RETV_ARGMVVZ to follow convention
7ca5f54
to
af4183d
Compare
FYI this is stuck behind a failing internal test which seems to be fixed. Re-starting.. |
Introduces:
a[i] || b[i]
orzero
ifm[i]
is false.TwoTablesLookupLanes(V a, V b, unspecified)
wherem[i]
is true, anda[i]
wherem[i]
is false.TwoTablesLookupLanes(V a, V b, unspecified)
wherem[i]
is true, and zero wherem[i]
is false.m[i]
istrue
.m[i]
istrue
.m[i]
istrue
.mask[i] < 0 ? (-v[i]) : ((mask[i] > 0) ? v[i] : impl_defined_val)
, whereimpl_defined_val
is an implementation-defined value that is equal to either 0 orv[i]
. SVE included only.Testing is performed for all new operations.