Add examples for "match" intrinsics #53

Merged
ThinkOpenly merged 1 commits from vec_match into master 4 years ago

1 Commits (master)

Author SHA1 Message Date
Paul Clarke af6ce37f14 Add examples for "match" intrinsics
Add examples for
- `vec_first_match_index`
- `vec_first_match_index_or_eos`
- `vec_first_mismatch_index`
- `vec_first_mismatch_index_or_eos`

Also, `vec_first_match_index` implmentations in this document and
in GCC were behaving like `vec_first_match_or_eos_index`.
Correct this document.  GCC PR94833 was already opened.

Fixes #18.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
4 years ago