X86: If SSE4.1 is missing lower SMUL_LOHI of v4i32 to pmuludq and fix up the high...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 27 Apr 2014 18:47:41 +0000 (18:47 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 27 Apr 2014 18:47:41 +0000 (18:47 +0000)
commitad1f916eafc01592deaad7dfe85738c90081163d
treec46921644ddc8e4aa0ff8b56177c6ad8acc8a0ff
parent75955d843f0b21fdbc7fff63635702d4f66ed8c3
X86: If SSE4.1 is missing lower SMUL_LOHI of v4i32 to pmuludq and fix up the high parts.

This is more expensive than pmuldq but still cheaper than scalarizing the whole thing.

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