[PATCH] D41811: X86: Add pattern matching for PMADDWD
Zvi Rackover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 7 14:42:24 PST 2018
zvi added inline comments.
================
Comment at: test/CodeGen/X86/madd.ll:358
; SSE2-NEXT: paddd %xmm5, %xmm0
; SSE2-NEXT: retq
;
----------------
RKSimon wrote:
> Whats missing to get SSE2 to lower to 2 x pmaddwd? (TBH I'm more interested in AVX1 but it'd be good for SSE as well).
That's a good idea. Though it might be tricky to split the 'mul' operands so that type-legalization won't mess-up illegal types. I can try to rework this patch or leave it as a follow-up if it gets too messy.
https://reviews.llvm.org/D41811
More information about the llvm-commits
mailing list