[PATCH] D116791: [RISCV] Supplement PACKH instruction pattern

WangLian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 6 22:45:45 PST 2022


Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, 01169957911, 01alchemist.
Jimerlife added a project: LLVM.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116791

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
  llvm/test/CodeGen/RISCV/rv32zbp.ll
  llvm/test/CodeGen/RISCV/rv64zbp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116791.398051.patch
Type: text/x-patch
Size: 3867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/b2081630/attachment.bin>


More information about the llvm-commits mailing list