[PATCH] D98185: [RISCV][MC] Fix nf encoding for vector ld/st whole register

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 08:24:08 PST 2021


arcbbb created this revision.
arcbbb added reviewers: HsiangKai, craig.topper, frasercrmck.
Herald added subscribers: vkmr, 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.
arcbbb requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

The three bit nf is one less than the number of NFIELDS,
so we manually decrement 1 for VS1/2/4/8R & VL1/2/4/8R.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98185

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/test/MC/RISCV/rvv/aliases.s
  llvm/test/MC/RISCV/rvv/load.s
  llvm/test/MC/RISCV/rvv/store.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98185.329025.patch
Type: text/x-patch
Size: 9633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210308/e7f11815/attachment.bin>


More information about the llvm-commits mailing list