[all-commits] [llvm/llvm-project] fdf3d1: [PowerPC] Implementing overflow version for XO-For...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Nov 11 07:50:54 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fdf3d1766bbabb48a397fae646facbe2690313f6
      https://github.com/llvm/llvm-project/commit/fdf3d1766bbabb48a397fae646facbe2690313f6
  Author: Stefan Pintile <stefanp at kuat.aus.stglabs.ibm.com>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/P9InstrResources.td
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
    M llvm/test/MC/Disassembler/PowerPC/ppc64le-encoding.txt
    M llvm/test/MC/PowerPC/invalid-instructions-spellcheck.s
    M llvm/test/MC/PowerPC/ppc64-encoding.s

  Log Message:
  -----------
  [PowerPC] Implementing overflow version for XO-Form instructions

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.

Patch By: Kamau Bridgeman

Differential Revision: https://reviews.llvm.org/D66902




More information about the All-commits mailing list