This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Supplement PACKH instruction pattern
ClosedPublic

Authored by Jimerlife on Jan 6 2022, 10:45 PM.

Details

Summary

lower = rs1 & 255
upper = (rs2 & 255) << 8
value = lower | upper

Diff Detail

Event Timeline

Jimerlife created this revision.Jan 6 2022, 10:45 PM
Jimerlife requested review of this revision.Jan 6 2022, 10:45 PM
This revision is now accepted and ready to land.Jan 6 2022, 10:59 PM
This revision was automatically updated to reflect the committed changes.