[PATCH] D50004: [PowerPC] Emit xscpsgndp instead of xxlor when copying floating point scalar registers

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 12:37:23 PDT 2018


amyk created this revision.
amyk added reviewers: nemanjai, echristo, hfinkel.
Herald added subscribers: hiraditya, qcolombet.

This patch will address using the `xscpsgndp` instruction to copy floating point scalar registers instead of the `xxlor` (specifically `XXLORf`) instruction that is currently used on https://reviews.llvm.org/P9. It includes:

- The change in instruction opcode to utilize `xscpsgndp` instead of `xxlor` when copying the floating point scalar registers
- An update of test cases to reflect this behaviour
- An update to test cases to include the `-ppc-vsr-nums-as-vr -ppc-asm-full-reg-names` `llc` options


https://reviews.llvm.org/D50004

Files:
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll
  llvm/test/CodeGen/PowerPC/f128-conv.ll
  llvm/test/CodeGen/PowerPC/f128-passByValue.ll
  llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll
  llvm/test/CodeGen/PowerPC/vsx-spill.ll
  llvm/test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50004.157999.patch
Type: text/x-patch
Size: 88423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/5cc2a5c5/attachment.bin>


More information about the llvm-commits mailing list