diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-01-24 19:20:02 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-01-24 19:20:02 +0000 |
commit | 9f551ad60423cedacdc502e98729fb8ad1a4ce9b (patch) | |
tree | ac3f8e8e8e8c8dcbbf6cf6a9fb6143b31a762301 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | a9263c8963a94334fe9951147485b1e77892d0d1 (diff) | |
download | bcm5719-llvm-9f551ad60423cedacdc502e98729fb8ad1a4ce9b.tar.gz bcm5719-llvm-9f551ad60423cedacdc502e98729fb8ad1a4ce9b.zip |
[X86][SSE] Aggressively use PMADDWD for v4i32 multiplies with 17 or more leading zeros
As discussed in D41484, PMADDWD for 'zero extended' vXi32 is nearly always a better option than PMULLD:
On SNB it will result in code that isn't any faster, but not any slower so we may as well keep it.
On KNL it only has half the throughput, so I've disabled it on there - ideally there'd be a better way than this.
Differential Revision: https://reviews.llvm.org/D42258
llvm-svn: 323367
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions