Add examples for count leading/trailing zeros #52

Merged
ThinkOpenly merged 1 commits from countzeros into master 4 years ago
ThinkOpenly commented 4 years ago (Migrated from github.com)

Add examples for

  • vec_cntlz, vec_cnttz
  • vec_cntlz_lsbb, vec_cnttz_lsbb

Fixes #15.

  • vec_cntlz:

    Screenshot from 2020-05-12 06-37-07
    Screenshot from 2020-05-12 06-37-28

  • vec_cnttz:

    Screenshot from 2020-05-12 06-37-58
    Screenshot from 2020-05-12 06-38-19

  • vec_cntlz_lsbb:

    Screenshot from 2020-05-12 06-38-39
    Screenshot from 2020-05-12 06-38-54

  • vec_cnttz_lsbb:

    Screenshot from 2020-05-12 06-39-19
    Screenshot from 2020-05-12 06-39-33

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

Add examples for - `vec_cntlz`, `vec_cnttz` - `vec_cntlz_lsbb`, `vec_cnttz_lsbb` Fixes #15. * `vec_cntlz`: > ![Screenshot from 2020-05-12 06-37-07](https://user-images.githubusercontent.com/12301795/81683243-7e2b0d80-941b-11ea-8408-f375ccd8db3f.png) > ![Screenshot from 2020-05-12 06-37-28](https://user-images.githubusercontent.com/12301795/81683252-81be9480-941b-11ea-939d-610fc7a03b43.png) * `vec_cnttz`: > ![Screenshot from 2020-05-12 06-37-58](https://user-images.githubusercontent.com/12301795/81683264-871bdf00-941b-11ea-8968-0c7cff6336a9.png) > ![Screenshot from 2020-05-12 06-38-19](https://user-images.githubusercontent.com/12301795/81683283-8be09300-941b-11ea-9232-4e5550f4c47c.png) * `vec_cntlz_lsbb`: > ![Screenshot from 2020-05-12 06-38-39](https://user-images.githubusercontent.com/12301795/81683371-b6cae700-941b-11ea-8b24-bfa0db57bbd4.png) > ![Screenshot from 2020-05-12 06-38-54](https://user-images.githubusercontent.com/12301795/81683304-93a03780-941b-11ea-8914-88b931f0ced0.png) * `vec_cnttz_lsbb`: > ![Screenshot from 2020-05-12 06-39-19](https://user-images.githubusercontent.com/12301795/81683401-bcc0c800-941b-11ea-9b58-1c753427f274.png) > ![Screenshot from 2020-05-12 06-39-33](https://user-images.githubusercontent.com/12301795/81683416-bfbbb880-941b-11ea-86d6-c58ce99ac18c.png) Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
wschmidt-ibm commented 4 years ago (Migrated from github.com)

For the last two, I don't much like the use of "byte index" as a subscript. Could you make the column identifer read "byte index n" and then use "a_n" in the middle row, where a_n means "a sub n"?

For the last two, I don't much like the use of "byte index" as a subscript. Could you make the column identifer read "byte index n" and then use "a_n" in the middle row, where a_n means "a sub n"?
ThinkOpenly commented 4 years ago (Migrated from github.com)

Like this?
Screenshot from 2020-05-12 09-25-21
Screenshot from 2020-05-12 09-25-43

Like this? ![Screenshot from 2020-05-12 09-25-21](https://user-images.githubusercontent.com/12301795/81703903-cd306d00-9432-11ea-85c7-2be1b88be095.png) ![Screenshot from 2020-05-12 09-25-43](https://user-images.githubusercontent.com/12301795/81703913-d0c3f400-9432-11ea-9855-0bb28513d916.png)
wschmidt-ibm commented 4 years ago (Migrated from github.com)

Yes, thanks! Note that right now you have a merge conflict, since I just made changes to those same entries.

Yes, thanks! Note that right now you have a merge conflict, since I just made changes to those same entries.
The pull request has been merged as a0ae5b21bb.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b countzeros master
git pull origin countzeros

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff countzeros
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: systemsoftware/Programming-Guides#52
Loading…
There is no content yet.