[PATCH] D144068: [PowerPC] Add Binary Coded Decimal Assist Instructions

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 18:50:59 PST 2023


stefanp created this revision.
stefanp added reviewers: nemanjai, lei, amyk.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.

This patch adds three instructions for Binary Coded Decimal (BCD).
They are: cdtbcd, cbcdtd, addg6s.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144068

Files:
  llvm/lib/Target/PowerPC/P10InstrResources.td
  llvm/lib/Target/PowerPC/P9InstrResources.td
  llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
  llvm/lib/Target/PowerPC/PPCInstr64Bit.td
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
  llvm/test/MC/Disassembler/PowerPC/ppc64le-encoding.txt
  llvm/test/MC/PowerPC/ppc64-encoding.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144068.497529.patch
Type: text/x-patch
Size: 5896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230215/fd88f0ad/attachment.bin>


More information about the llvm-commits mailing list