[PATCH] Add LLVM support for remaining integer divide and permute instructions from ISA 2.06

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Fri Mar 20 08:44:54 PDT 2015


Addressed comments from the previous review. Please note the resolution I've implemented for the comments about features that control these instructions. I felt that picking a characteristic instruction is also somewhat misleading (this patch is mostly divide instructions, but the next one will have more completely unrelated ones). So what I did instead is implement a feature that will enable all the features of a full ISA 2.06 implementation with -mattr=+isa-206 (subject to change if you would prefer a different string). The plan then is to do the same for ISA 2.07 in a later patch and if everyone agrees with this one.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8406

Files:
  include/llvm/IR/IntrinsicsPowerPC.td
  lib/Target/PowerPC/PPC.td
  lib/Target/PowerPC/PPCInstr64Bit.td
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCSubtarget.cpp
  lib/Target/PowerPC/PPCSubtarget.h
  lib/Target/PowerPC/README.txt
  test/CodeGen/PowerPC/div-e-32.ll
  test/CodeGen/PowerPC/div-e-all.ll
  test/MC/Disassembler/PowerPC/ppc64-encoding.txt
  test/MC/PowerPC/ppc64-encoding.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8406.22351.patch
Type: text/x-patch
Size: 23244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/282e6f65/attachment.bin>


More information about the llvm-commits mailing list