[PATCH] [PATCH] Support select-cc for VSFRC when VSX is enabled

Bill Schmidt wschmidt at linux.vnet.ibm.com
Wed Oct 22 09:44:22 PDT 2014


Hi hfinkel, seurer,

A previous patch enabled SELECT_VSRC and SELECT_CC_VSRC for VSX to handle <2 x double> cases.  This patch adds SELECT_VSFRC and SELECT_CC_VSFRC to allow use of all 64 vector-scalar registers for the f64 type when VSX is enabled.  The changes are analogous to those in the previous patch.  I've added a new variant to vsx.ll to test the code generation.

(I also cleaned up a little formatting in PPCInstrVSX.td from the previous patch.)

http://reviews.llvm.org/D5912

Files:
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vsx.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5912.15250.patch
Type: text/x-patch
Size: 5486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141022/3b3b6490/attachment.bin>


More information about the llvm-commits mailing list