[PATCH] D143880: [LoongArch] Emit bytepick for picking from concatenation of two values

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 23:46:14 PST 2023


xen0n created this revision.
xen0n added reviewers: SixWeining, wangleiat, gonglingqin, xry111.
Herald added a subscriber: hiraditya.
Herald added a project: All.
xen0n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It seems the ISA manual's pseudo-code description for the
`BYTEPICK.[WD]` instructions is inaccurate; the behavior described here
should be correct though. The instructions' names are misleading too
(they pick full GRLen-wide words instead of bytes; they just index by
bytes) but let's stick to the official names for now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143880

Files:
  llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
  llvm/test/CodeGen/LoongArch/bytepick.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143880.496848.patch
Type: text/x-patch
Size: 8244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/d0e3a53e/attachment.bin>


More information about the llvm-commits mailing list