Add examples for "match" intrinsics #53

Merged
ThinkOpenly merged 1 commits from vec_match into master 3 years ago
ThinkOpenly commented 3 years ago (Migrated from github.com)
Owner

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.

  • vec_first_match_index:

    Screenshot from 2020-05-13 15-49-22
    Screenshot from 2020-05-13 15-49-44

  • vec_first_match_or_eos_index:

    Screenshot from 2020-05-13 15-50-00
    Screenshot from 2020-05-13 15-50-16

  • vec_first_mismatch_index:

    Screenshot from 2020-05-13 15-50-40
    Screenshot from 2020-05-13 15-50-55

  • vec_first_mismatch_or_eos_index:

    Screenshot from 2020-05-13 15-51-07
    Screenshot from 2020-05-13 15-51-20

Signed-off-by: Paul A. Clarke pc@us.ibm.com

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](https://gcc.gnu..org/PR94833) was already opened. Fixes #18. * `vec_first_match_index`: > ![Screenshot from 2020-05-13 15-49-22](https://user-images.githubusercontent.com/12301795/81864029-aa38b280-9531-11ea-825c-a72592b0f6a8.png) > ![Screenshot from 2020-05-13 15-49-44](https://user-images.githubusercontent.com/12301795/81864040-ac9b0c80-9531-11ea-9114-0ec9bb063042.png) * `vec_first_match_or_eos_index`: > ![Screenshot from 2020-05-13 15-50-00](https://user-images.githubusercontent.com/12301795/81864047-aefd6680-9531-11ea-8fd4-05ad5dd56850.png) > ![Screenshot from 2020-05-13 15-50-16](https://user-images.githubusercontent.com/12301795/81864054-b15fc080-9531-11ea-88e4-dc8c357bc38a.png) * `vec_first_mismatch_index`: > ![Screenshot from 2020-05-13 15-50-40](https://user-images.githubusercontent.com/12301795/81864067-b3c21a80-9531-11ea-8a41-afaf95f7107e.png) > ![Screenshot from 2020-05-13 15-50-55](https://user-images.githubusercontent.com/12301795/81864075-b6247480-9531-11ea-9c63-caaa237c5128.png) * `vec_first_mismatch_or_eos_index`: > ![Screenshot from 2020-05-13 15-51-07](https://user-images.githubusercontent.com/12301795/81864081-b886ce80-9531-11ea-9de9-0c87b9181418.png) > ![Screenshot from 2020-05-13 15-51-20](https://user-images.githubusercontent.com/12301795/81864086-ba509200-9531-11ea-8018-0a4beb3267c9.png) Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
wschmidt-ibm commented 3 years ago (Migrated from github.com)
Owner

Looks good, thank you!

Looks good, thank you!
The pull request has been merged as 8bdc799731.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.