This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Consider scalar types for required extensions.
ClosedPublic

Authored by HsiangKai on May 7 2021, 12:37 AM.

Details

Summary

We have vector operations on double vector and float scalar. For
example, vfwadd.wf is such a instruction.

vfloat64m1_t vfwadd_wf(vfloat64m1_t op0, float op1, size_t op2);

We should specify F and D extensions for it.

Diff Detail

Event Timeline

HsiangKai created this revision.May 7 2021, 12:37 AM
HsiangKai requested review of this revision.May 7 2021, 12:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 7 2021, 12:37 AM
khchen accepted this revision.May 7 2021, 12:53 AM

Good catch! LGTM!

This revision is now accepted and ready to land.May 7 2021, 12:53 AM
This revision was automatically updated to reflect the committed changes.