[PATCH] D82440: [Power10] Implement Vector Shift Double Bit Immediate Builtins in LLVM/Clang

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 01:04:12 PDT 2020


biplmish added a comment.

In D82440#2113301 <https://reviews.llvm.org/D82440#2113301>, @RKSimon wrote:

> Are these a form of funnel shifts? https://llvm.org/docs/LangRef.html#llvm-fshl-intrinsic
>
> If so would it make sense to emit generic @llvm.fshl.v16i8 style intrinsics to improve optimization opportunities?


The concat is common, however the funnel shifts and in general most vector operations occur on each elements of the vector. 
However this shift(Vector Shift Double Bit Immediate) is to implement shift of the entire concatenated vector by an immediate shift amount.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82440/new/

https://reviews.llvm.org/D82440





More information about the llvm-commits mailing list