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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 02:08:47 PDT 2020


RKSimon added a comment.

In D82440#2116145 <https://reviews.llvm.org/D82440#2116145>, @biplmish wrote:

> 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.


np- cheers.


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

https://reviews.llvm.org/D82440





More information about the llvm-commits mailing list