[PATCH] D66891: [PowerPC] Implementing overflow version for XO-Form instructions

Kamau Bridgeman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 09:29:56 PDT 2019


kamaub created this revision.
Herald added subscribers: llvm-commits, shchenz, jsji, MaskRay, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

The Overflow version of XO-Form instruction uses the SO, OV and
OV32 special registers.

This changes modifies existing multiclasses and instruction
definitions to allow for the use of the XER register to record
the various types if overflow from possible add, subtract and
multiply instructions. It then modifies the existing instructions
as to use these multiclasses as needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66891

Files:
  llvm/lib/Target/PowerPC/P9InstrResources.td
  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/invalid-instructions-spellcheck.s
  llvm/test/MC/PowerPC/ppc64-encoding.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66891.217673.patch
Type: text/x-patch
Size: 43059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190828/48fcf6e1/attachment.bin>


More information about the llvm-commits mailing list