Skip to content
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

Zero and sign extension of pack.h vs pack.w #125

Closed
RogierBrussee opened this issue Sep 4, 2021 · 5 comments
Closed

Zero and sign extension of pack.h vs pack.w #125

RogierBrussee opened this issue Sep 4, 2021 · 5 comments
Labels
public-review For all comments related to the public review process

Comments

@RogierBrussee
Copy link

The pack.h instruction zero extends while the pack.w instruction sign extends.
Because the instructions are simple and otherwise very similar, maybe for ease of reference this should be mentioned in the synopsis (it is already mentioned in the description).

Arguably it would be less confusing if pack.h would be renamed pack.hu

(Same issue as #160 on the bitmanip GitHub)

@ben-marshall ben-marshall added the public-review For all comments related to the public review process label Sep 8, 2021
@ben-marshall
Copy link
Member

I'm happy adding a note to the synopsis to each instruction if that'd make things clearer. These instructions & their names were originally defined by the bitmanip task group so we are inheriting any oddities like this.

(riscv/riscv-bitmanip#160)

@RogierBrussee
Copy link
Author

RogierBrussee commented Sep 9, 2021 via email

@kdockser
Copy link
Collaborator

This comment was for the Scalar Crypto extension which has been finalized and ratified. No changes of this type may be made at this time.

@RogierBrussee
Copy link
Author

RogierBrussee commented Oct 31, 2022 via email

@kdockser
Copy link
Collaborator

kdockser commented Nov 1, 2022

Sorry, I didn't mean to imply that your comment was late. I was in the process of cleaning out old issues and was just concentrating on whether or not there was something that we need to do at the current time.

Thanks,
ken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
public-review For all comments related to the public review process
Projects
None yet
Development

No branches or pull requests

3 participants