[PATCH] D16709: [Power9] Implement new vsx instructions: compare and conversion

Chuang-Yu Cheng via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 23:48:42 PST 2016


cycheng updated this revision to Diff 46749.
cycheng added a comment.

- Shorten format name: XForm_RD5_XO5_RS5 -> X_RD5_XO5_RS5
- Move **X_VT5_XO5_VB5**, **XX2_XT6_XO5_XB6**, **XX3_XT5_XA5_XB5** to the beginning of p9 vector instruction section, because it is shared among other new vsx instructions
- Add InstrItinClass parameter to **XX3_XT5_XA5_XB5**, because some vsx instructions use different value, e.g. vsx compare use **IIC_FPCompare**, but others use "IIC_VecFP"


http://reviews.llvm.org/D16709

Files:
  lib/Target/PowerPC/PPC.td
  lib/Target/PowerPC/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrVSX.td
  lib/Target/PowerPC/PPCSubtarget.cpp
  lib/Target/PowerPC/PPCSubtarget.h
  lib/Target/PowerPC/README_P9.txt
  test/MC/Disassembler/PowerPC/vsx.txt
  test/MC/PowerPC/vsx.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16709.46749.patch
Type: text/x-patch
Size: 17573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/b7137b4e/attachment-0001.bin>


More information about the llvm-commits mailing list