[PATCH] D105796: [RISCV] Optimize multiplication in the zba extension with SH*ADD
    Ben Shi via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul 20 20:44:56 PDT 2021
    
    
  
benshi001 added a comment.
I have split previous patch to smaller ones, which would be easy to review. And current patch only contains
  (mul x, 3 * power_of_2) -> (SLLI (SH1ADD x, x), bits)
  (mul x, 5 * power_of_2) -> (SLLI (SH2ADD x, x), bits)
  (mul x, 9 * power_of_2) -> (SLLI (SH3ADD x, x), bits)
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105796/new/
https://reviews.llvm.org/D105796
    
    
More information about the llvm-commits
mailing list