summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTony Jiang <jtony@ca.ibm.com>2017-11-20 14:38:30 +0000
committerTony Jiang <jtony@ca.ibm.com>2017-11-20 14:38:30 +0000
commit438bf4a66b1573887823fe36c82c45a891107768 (patch)
tree05e9a21a96890432bd744b8cd764ec78d79e56c8 /clang/lib/Frontend/CompilerInvocation.cpp
parent0c5a29b6be61151e0e6876014c3c4dfd8aa1b9d9 (diff)
downloadbcm5719-llvm-438bf4a66b1573887823fe36c82c45a891107768.tar.gz
bcm5719-llvm-438bf4a66b1573887823fe36c82c45a891107768.zip
[PPC] Heuristic to choose between a X-Form VSX ld/st vs a X-Form FP ld/st.
The VSX versions have the advantage of a full 64-register target whereas the FP ones have the advantage of lower latency and higher throughput. So what we’re after is using the faster instructions in low register pressure situations and using the larger register file in high register pressure situations. The heuristic chooses between the following 7 pairs of instructions. PPC::LXSSPX vs PPC::LFSX PPC::LXSDX vs PPC::LFDX PPC::STXSSPX vs PPC::STFSX PPC::STXSDX vs PPC::STFDX PPC::LXSIWAX vs PPC::LFIWAX PPC::LXSIWZX vs PPC::LFIWZX PPC::STXSIWX vs PPC::STFIWX Differential Revision: https://reviews.llvm.org/D38486 llvm-svn: 318651
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud