[PATCH] D127853: [AArch64][SME] Add SME cntsb/h/w/d intrinsics

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 09:14:05 PDT 2022


david-arm added a comment.

In D127853#3585748 <https://reviews.llvm.org/D127853#3585748>, @aemerson wrote:

> Can't the `rdsvl` immediate be used to do the scaling instead of a shift?

I think the rdsvl immediate specifies the multiplier, which equates to a shift left. Whereas I want to divide the length by the element size, i.e. a shift right.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127853



More information about the llvm-commits mailing list