[PATCH] D121087: [RISCV][RVV] Add Uses = [FRM] and mayRaiseFPException = true to RVV instructions

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 00:14:08 PST 2022


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

This patch adds `Uses = [FRM]` and `mayRaiseFPException = true` to following instructions:

  VFADD, VFSUB, VFRSUB, VFMUL, VFDIV, VFRDIV
  VFWADD, VFWSUB, VFWMUL
  VFMADD, VFMACC, VFMSAC, VFMSUB
  VFNMADD, VFNMACC, VFNMSAC, VVFNMSUB
  VFWMACC, VFWMSAC, 
  VFWNMACC, VFWNMSAC
  VFSQRT, VFRSQRT7, VFREC7
  VFREDOSUM, VFREDUSUM,
  VFWREDOSUM, VFWREDUSUM

and only adds `mayRaiseFPException = true` to following instructions:

  VFMIN, VFMAX, VFREDMIN, VFREDMAX
   VMFEQ, VMFNE, VMFLT,VMFLE, VMFGT, VMFGE


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121087

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121087.413349.patch
Type: text/x-patch
Size: 11328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220307/0070609f/attachment.bin>


More information about the llvm-commits mailing list