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

Chuang-Yu Cheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 21:06:14 PST 2016


cycheng created this revision.
cycheng added reviewers: hfinkel, kbarton, nemanjai, tjablin.
cycheng added a subscriber: llvm-commits.

This change implements the following vsx instructions:
  - Quad/Double-Precision Compare:
    # xscmpoqp xscmpuqp
    # xscmpexpdp xscmpexpqp
    # xscmpeqdp xscmpgedp xscmpgtdp xscmpnedp
    # xvcmpnedp(.) xvcmpnesp(.)

  - Quad-Precision Floating-Point Conversion
    # xscvqpdp(o) xscvdpqp
    # xscvqpsdz xscvqpswz xscvqpudz xscvqpuwz xscvsdqp xscvudqp
    # xscvdphp xscvhpdp xvcvhpsp xvcvsphp
    # xsrqpi xsrqpix xsrqpxp

28 instructions

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.46347.patch
Type: text/x-patch
Size: 17562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/3ca86a07/attachment.bin>


More information about the llvm-commits mailing list