[PATCH] D141984: [RISCV][MC] Add support for experimental zfa extension(FLI instruction not included)

Jun Sha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 18:31:12 PST 2023


joshua-arch1 created this revision.
Herald added subscribers: luke, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
joshua-arch1 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

[1/4] This implements experimental support for the RISCV Zfa extension as specified here: https://github.com/riscv/riscv-isa-manual/releases/download/draft-20221119-5234c63/riscv-spec.pdf, Ch. 25. This extension has not been ratified. Once ratified, it'll move out of experimental status.

This change only adds assembly support for instructions except load-immediate instructions (fli.s/fli.d/fli.h).


https://reviews.llvm.org/D141984

Files:
  llvm/lib/Target/RISCV/RISCV.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZfa.td
  llvm/test/MC/RISCV/rv32zfa-only-valid.s
  llvm/test/MC/RISCV/rv32zfa-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141984.490013.patch
Type: text/x-patch
Size: 9161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230118/2a972db8/attachment.bin>


More information about the llvm-commits mailing list