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 extend of pack.h vs pack.w #160

Open
RogierBrussee opened this issue Sep 4, 2021 · 0 comments
Open

Zero and sign extend of pack.h vs pack.w #160

RogierBrussee opened this issue Sep 4, 2021 · 0 comments

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 for ease of reference, maybe 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant