This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][Clang] Add some RVV Floating-Point intrinsic functions.
ClosedPublic

Authored by khchen on Mar 31 2021, 9:45 AM.

Details

Summary

Support the following instructions which have the same class.

  1. Vector Single-Width Floating-Point Subtract Instructions
  2. Vector Single-Width Floating-Point Multiply/Divide Instructions
  3. Vector Floating-Point MIN/MAX Instructions
  4. Vector Floating-Point Sign-Injection Instructions

Diff Detail

Event Timeline

khchen created this revision.Mar 31 2021, 9:45 AM
khchen requested review of this revision.Mar 31 2021, 9:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2021, 9:45 AM
craig.topper requested changes to this revision.Mar 31 2021, 5:55 PM
craig.topper added inline comments.
clang/include/clang/Basic/riscv_vector.td
766

Shouldn't this be the same as vfrsub?

This revision now requires changes to proceed.Mar 31 2021, 5:55 PM
khchen updated this revision to Diff 334644.Apr 1 2021, 3:58 AM

Fix vfrdiv.

This revision is now accepted and ready to land.Apr 1 2021, 9:16 AM