This is an archive of the discontinued LLVM Phabricator instance.

Add MC support of RISCV Zcf Extension
ClosedPublic

Authored by VincentWu on Sep 19 2022, 5:17 AM.

Details

Summary

This patch add the instructions of Zcf extension.

Zcf is a subset of C Ext which include the single-precision floating-point instructions.

Diff Detail

Event Timeline

VincentWu created this revision.Sep 19 2022, 5:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 5:17 AM
VincentWu requested review of this revision.Sep 19 2022, 5:17 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 19 2022, 5:17 AM

Need to add zcf command lines to compress-rv32f.s

llvm/lib/Target/RISCV/RISCV.td
366

This is never used

llvm/test/MC/RISCV/rv32fc-valid.s
22

Need to add zcf command lines

VincentWu updated this revision to Diff 462720.Sep 25 2022, 4:43 AM
VincentWu marked 2 inline comments as done.

address comments

craig.topper requested changes to this revision.Sep 26 2022, 9:44 AM

Need to add zcf command lines to compress-rv32f.s

This revision now requires changes to proceed.Sep 26 2022, 9:44 AM
VincentWu updated this revision to Diff 463203.Sep 27 2022, 5:39 AM

add testcase

This revision is now accepted and ready to land.Sep 30 2022, 9:22 AM
VincentWu updated this revision to Diff 477307.EditedNov 22 2022, 2:51 PM

rebase

This revision was automatically updated to reflect the committed changes.