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

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 09:45:55 PST 2019


rogfer01 added a comment.

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