OSDN Git Service

[X86] Use BWI instructions to improve lowering of v32i8 MULHU/S
authorCraig Topper <craig.topper@intel.com>
Thu, 28 Sep 2017 17:00:21 +0000 (17:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 28 Sep 2017 17:00:21 +0000 (17:00 +0000)
commit018bd7a983b5be807489f2c6ca9f546cd1bdd6e7
treee31140feb840d78e9b8d16ed78ce6477f1933aa8
parentf742fd0c957d4bdefdcf0051db823d25e8a0b667
[X86] Use BWI instructions to improve lowering of v32i8 MULHU/S

Summary: If we have BWI instructions we can widen to v32i16 to do the multiply instead of splitting.

Reviewers: RKSimon, spatel, zvi

Reviewed By: zvi

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D38305

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314432 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-idiv-sdiv-256.ll
test/CodeGen/X86/vector-idiv-udiv-256.ll