[PATCH] D104436: [RISCV] Optimize mul-add in the zbs extension with SH*ADD

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 21:10:41 PDT 2021


benshi001 added a comment.

In D104436#2823697 <https://reviews.llvm.org/D104436#2823697>, @benshi001 wrote:

> The SH1ADDUW/SH2ADDUW/SH3ADDUW are different, and my previous test cases do not patch.
>
> I will try SH1ADDUW/SH2ADDUW/SH3ADDUW next week, and you are appreciated to review current optimization with SH1ADD/SH2ADD/SH3ADD.

It seems SH1/2/3ADDUW are quite different and are not simply 32-bit SH1/2/3ADD on RV64, they can not be used to optimize mul-add.


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

https://reviews.llvm.org/D104436



More information about the llvm-commits mailing list