This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add support for XCVbi extension in CV32E40P
ClosedPublic

Authored by melonedo on Jul 4 2023, 12:51 AM.

Details

Summary

Implement XCVbi intrinsics for CV32E40P according to the specification.

This commit is part of a patch-set to upstream the 7 vendor specific extensions of CV32E40P.

Contributors: @CharKeaney, @jeremybennett, @lewis-revill, @liaolucy, Nandni Jamnadas, @PaoloS, @simoncook, @xmj.

Diff Detail

Event Timeline

melonedo created this revision.Jul 4 2023, 12:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 12:51 AM
melonedo requested review of this revision.Jul 4 2023, 12:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 12:51 AM
melonedo updated this revision to Diff 537197.Jul 4 2023, 6:57 PM

Rename RVInst* to CVInst*

craig.topper added inline comments.Jul 4 2023, 7:10 PM
llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
566

This seems to be a different line wrap style than all the others. Is this clang-format being weird?

llvm/lib/Target/RISCV/RISCVFeatures.td
774

This line is indented 1 space too far

775

I probably should have flagged this in the previous reviews, but shouldn't this string say Core-V in it?

llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
14

I just commited this rename once I noticed the inconsistency.

184

RV -> CV

melonedo updated this revision to Diff 537199.Jul 4 2023, 7:28 PM

Adopt suggestions

Rename CV to RV; fix indentation and line wrapping; add CORE-V to feature description.

melonedo marked 2 inline comments as done.Jul 7 2023, 12:51 AM
melonedo updated this revision to Diff 538941.Jul 11 2023, 12:54 AM

Change version of spec to 1.0.0

melonedo edited the summary of this revision. (Show Details)Jul 11 2023, 2:01 AM
melonedo added a subscriber: PaoloS.
melonedo updated this revision to Diff 541385.Jul 18 2023, 1:13 AM

Add tests for +xcvbi option; add extension to RISCVISAInfo; fix spelling

melonedo updated this revision to Diff 543801.Jul 24 2023, 8:14 PM

Amend RISCVUsage.rst

This revision is now accepted and ready to land.Jul 24 2023, 8:27 PM
This revision was landed with ongoing or failed builds.Jul 28 2023, 2:37 AM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Jul 28 2023, 3:09 AM

Looks like you checked in a merge conflict marker,http://45.33.8.238/linux/113808/step_12.txt

Please take a look and revert for now if it takes a while to fix. And please run tests locally as last step before committing.