This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add Zicsr and Zifencei to CPUs in RISCVProcessors.td.
ClosedPublic

Authored by craig.topper on Mar 30 2023, 12:56 PM.

Details

Summary

I only added Zicsr to CPUs that didn't already have an implication
through the F extension.

As far as I could tell from searching Rocket and Syntacore repositories,
all the CPUs support these instructions.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 30 2023, 12:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 12:56 PM
craig.topper requested review of this revision.Mar 30 2023, 12:56 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 30 2023, 12:56 PM
asb accepted this revision.Mar 30 2023, 1:23 PM

LGTM. I also understand that Rocket and SCR-1 support zicsr and zifencei in all standard configurations (and their respective repos seem to confirm this).

This revision is now accepted and ready to land.Mar 30 2023, 1:23 PM
This revision was landed with ongoing or failed builds.Mar 30 2023, 4:13 PM
This revision was automatically updated to reflect the committed changes.