[PATCH] D62565: [PowerPC] Exploiting to use mtvsrdd instruction when save called-saved GPR register to VSR registers
Qiu Chaofan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 01:14:31 PST 2021
qiucf added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCFrameLowering.cpp:2256
+ BuildMI(MBB, MI, DL, TII.get(PPC::MTVSRDD), Dst)
+ .addReg(VSRToGPRs[Dst][0], getKillRegState(true))
+ .addReg(VSRToGPRs[Dst][1], getKillRegState(true));
----------------
jsji wrote:
> Do we want to save the two GPRs in the order of endian order? or maybe fixed litten endian?
Here it always uses big-endian element order to save and restore, so it doesn't matter?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62565/new/
https://reviews.llvm.org/D62565
More information about the llvm-commits
mailing list