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 D84359
| Paths 
 |  Differential  D84847  
[PowerPC] Add accumulator register class and instructions ClosedPublic Authored by bsaleil on Jul 29 2020, 7:17 AM. 
Details 
 Summary This patch adds the xxmfacc, xxmtacc and xxsetaccz instructions to manipulate accumulator registers. Depends on D84359 
Diff Detail 
 Event TimelineHerald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.  ·  View Herald TranscriptJul 29 2020, 7:17 AM bsaleil added a parent revision: D84359: [PowerPC] Add vector pair load/store instructions and vector pair register class. Comment Actions LGTM 
 This revision is now accepted and ready to land.Sep 17 2020, 3:13 PM This revision was landed with ongoing or failed builds.Sep 25 2020, 10:25 AM Closed by commit rG9b86b7009430: [PowerPC] Add accumulator register class and instructions (authored by bsaleil).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 281668 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
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nit:
if ( RegName[1] == 'c' && RegName[2] == 'c')