[PATCH] D69987: [RISCV] Assemble/Disassemble v-ext instructions.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 23:00:47 PST 2019


HsiangKai added a comment.

Hi @rogfer01,

Thanks for your suggestions and PoC commit. It looks great! I will modify the patch according to your suggestions.

In D69987#1741019 <https://reviews.llvm.org/D69987#1741019>, @rogfer01 wrote:

> Hi @HsiangKai,
>
> It may be possible to halve the number of instructions if we make use of the `IsOptional` attribute and we always add a //mask// operand to the instructions that may have a mask. This way we don't have `VADD_VV` and `VADD_VV_T`, only `VADD_VV` with a mask operand whose register is `RISCV::NoRegister` if the instruction is not masked.
>
> You can find a PoC at D70092 <https://reviews.llvm.org/D70092>.
>
> Perhaps you already considered this approach and discarded it?
>
> What do you think?





Repository:
  rL LLVM

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

https://reviews.llvm.org/D69987





More information about the llvm-commits mailing list