diff options
author | Zvi Rackover <zvi.rackover@intel.com> | 2016-12-06 19:35:20 +0000 |
---|---|---|
committer | Zvi Rackover <zvi.rackover@intel.com> | 2016-12-06 19:35:20 +0000 |
commit | 8bc7e4da516c7a8cd3f1067fadb9c52ee297f6f4 (patch) | |
tree | 3a87c9ef3bca7962b449ef089f9906acec19bcee /llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | |
parent | e6c29d6d854cbbafc108cf32f9676157464f39fc (diff) | |
download | bcm5719-llvm-8bc7e4da516c7a8cd3f1067fadb9c52ee297f6f4.tar.gz bcm5719-llvm-8bc7e4da516c7a8cd3f1067fadb9c52ee297f6f4.zip |
[X86] Prefer reduced width multiplication over pmulld on Silvermont
Summary:
Prefer expansions such as: pmullw,pmulhw,unpacklwd,unpackhwd over pmulld.
On Silvermont [source: Optimization Reference Manual]:
PMULLD has a throughput of 1/11 [instruction/cycles].
PMULHUW/PMULHW/PMULLW have a throughput of 1/2 [instruction/cycles].
Fixes pr31202.
Analysis of this issue was done by Fahana Aleen.
Reviewers: wmi, delena, mkuper
Subscribers: RKSimon, llvm-commits
Differential Revision: https://reviews.llvm.org/D27203
llvm-svn: 288844
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/CallLowering.cpp')
0 files changed, 0 insertions, 0 deletions