[PATCH] [X86][SSE] Vectorized i64 uniform constant SRA shifts
Simon Pilgrim
llvm-dev at redking.me.uk
Mon May 11 09:57:32 PDT 2015
In http://reviews.llvm.org/D9645#170039, @delena wrote:
> I disagree with this approach. You can prepare a separate patch for "shift-right-64bits" optimization.
> But you should not use shift-right in SEXT and generate 10 instructions instead of 3.
I haven't intentionally added these shift-right in the sext tests - its just a result of the default sign-ext expansion from SIGN_EXTEND_INREG. I still think this is an improvement over where we are now but I'll push the pmovsx* patch up for review as soon as I can and revisit this afterwards.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9645
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list