This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Support experimental v extensions.
ClosedPublic

Authored by HsiangKai on Jun 4 2020, 12:27 PM.

Details

Summary

This follows the design as discussed on the mailing lists in the
following RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-January/138364.html

Support for the vector 'v' extension v0.8.

Diff Detail

Event Timeline

HsiangKai created this revision.Jun 4 2020, 12:27 PM
MaskRay added inline comments.Jun 4 2020, 12:51 PM
clang/test/Driver/riscv-arch.c
364

For the RUN lines, I'd prefer the suggestion in https://reviews.llvm.org/D80838?id=267971#inline-744878

You replace -fsyntax-only to -c if it is too long.

379

Should there be a p7 test? Along with a p8 test, we can know that p8 is the split line.

HsiangKai updated this revision to Diff 268642.Jun 4 2020, 7:41 PM

Address @MaskRay's comments.

MaskRay accepted this revision.Jun 4 2020, 7:58 PM

LGTM.

This revision is now accepted and ready to land.Jun 4 2020, 7:58 PM
This revision was automatically updated to reflect the committed changes.