Skip to content

Commit

Permalink
Add quick reference for MaskedConvertToOrZero
Browse files Browse the repository at this point in the history
  • Loading branch information
mazimkhan committed Nov 22, 2024
1 parent d03e770 commit 2795735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions g3doc/quick_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1756,6 +1756,9 @@ All functions except `Stream` are defined in cache_control.h.
`DemoteToNearestInt(d, v)` is more efficient on some targets, including x86
and RVV.

* <code>Vec&lt;D&gt; **MaskedConvertToOrZero**(M m, D d, V v)</code>: returns `v[i]`
converted to `D` where m is active and returns zero otherwise.

#### Single vector demotion

These functions demote a full vector (or parts thereof) into a vector of half
Expand Down

0 comments on commit 2795735

Please sign in to comment.