riscv / riscv-bitmanip

Working draft of the proposed RISC-V Bitmanipulation extension

Home Page:https://jira.riscv.org/browse/RVG-122

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RogierBrussee opened this issue · comments

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