This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Define vector narrowing type-convert intrinsic.
ClosedPublic

Authored by monkchiang on Dec 29 2020, 10:57 PM.

Details

Summary

Define intrinsics:

  1. vfncvt.xu.f.w/vfncvt.x.f.w
  2. vfncvt.rtz.xu.f.w/vfncvt.rtz.x.f.w
  3. vfncvt.f.xu.w/vfncvt.f.x.w
  4. vfncvt.f.f.w/vfncvt.rod.f.f.w

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Monk Chiang <monk.chiang@sifive.com>

Diff Detail

Event Timeline

monkchiang created this revision.Dec 29 2020, 10:57 PM
monkchiang requested review of this revision.Dec 29 2020, 10:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 29 2020, 10:57 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
This revision is now accepted and ready to land.Dec 29 2020, 11:41 PM
craig.topper requested changes to this revision.Dec 30 2020, 12:28 AM

Does these need earlyclobber?

This revision now requires changes to proceed.Dec 30 2020, 12:28 AM
monkchiang updated this revision to Diff 314102.EditedDec 30 2020, 4:57 AM
  1. Add earlyclobber constraint
  2. support float16 to i8 conversion for vfncvt.xu.f / vfncvt.x.f / vfncvt.rtz.xu.f / vfcvt.rtz.x.f
  3. Add float16 to i8 conversion test cases
This revision is now accepted and ready to land.Dec 30 2020, 10:04 AM
This revision was landed with ongoing or failed builds.Dec 30 2020, 7:57 PM
This revision was automatically updated to reflect the committed changes.