[PATCH] D62565: [PowerPC] Exploiting to use mtvsrdd instruction when save called-saved GPR register to VSR registers

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 20:21:59 PDT 2019


wuzish created this revision.
wuzish added reviewers: hfinkel, nemanjai, syzaara.
Herald added subscribers: llvm-commits, jsji, hiraditya, qcolombet.
Herald added a project: LLVM.

Make an exploiting to use mtvsrdd instruction when save called-saved GPR registers to VSR registers.
Because mtvsrdd can save two GPRs together at one time and make the space/time more efficient.


Repository:
  rL LLVM

https://reviews.llvm.org/D62565

Files:
  llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  llvm/lib/Target/PowerPC/PPCFrameLowering.h
  llvm/test/CodeGen/MIR/PowerPC/prolog_vec_spills.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62565.201814.patch
Type: text/x-patch
Size: 7242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190529/6d54de16/attachment.bin>


More information about the llvm-commits mailing list