[PATCH] D84847: [PowerPC] Add accumulator register class and instructions

Baptiste Saleil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 07:17:01 PDT 2020


bsaleil created this revision.
bsaleil added reviewers: nemanjai, hfinkel, lei.
bsaleil added projects: LLVM, PowerPC.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.
bsaleil requested review of this revision.
Herald added a subscriber: wuzish.

This patch adds the `xxmfacc`, `xxmtacc` and `xxsetaccz` instructions to manipulate accumulator registers.
It also adds the ACC register class definition for the accumulator registers.

Depends on https://reviews.llvm.org/D84359


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84847

Files:
  llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterInfo.td
  llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt
  llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84847.281570.patch
Type: text/x-patch
Size: 9895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200729/740b9f82/attachment.bin>


More information about the llvm-commits mailing list