[PATCH] D16919: [Power9] Implement new vsx instructions: load, store instructions for vector and scalar

Chuang-Yu Cheng via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 01:59:07 PST 2016


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

We follow the comments mentioned in http://reviews.llvm.org/D16842#344378 to implement this new patch.

This patch implements the following vsx instructions:

  - Vector load/store:
    # lxv lxvx lxvb16x lxvl lxvll lxvh8x lxvwsx
    # stxv stxvb16x stxvh8x stxvl stxvll stxvx

  - Scalar load/store:
    # lxsd lxssp lxsibzx lxsihzx
    # stxsd stxssp stxsibx stxsihx

21 instructions

http://reviews.llvm.org/D16919

Files:
  lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  lib/Target/PowerPC/PPC.td
  lib/Target/PowerPC/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrInfo.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: D16919.47003.patch
Type: text/x-patch
Size: 21066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160205/cf6c98aa/attachment.bin>


More information about the llvm-commits mailing list