This is an archive of the discontinued LLVM Phabricator instance.

[1/3][RISCV] Define machine instruction to write an immediate into vxrm
ClosedPublic

Authored by eopXD on May 24 2023, 7:10 PM.

Details

Summary

This patch-set wants to model rounding mode for the fixed-point
intrinsics of the RVV C intrinsics.

The specification PR: riscv-non-isa/rvv-intrinsic-doc#222

The 3 patches is a proof-of-concept with a bottom-up approach
Going from machine instruction to LLVM intrinsics, then to the C
intrinsics. The 3 patches applies the rounding mode control on the
vaadd instruction. Proceeding patches will extend the change to all
other fixed-point computations.


This is the 1st commit of the patch-set. This patch gives a name to
the machine instruction that writes an immediate into the CSR vxrm.

Diff Detail

Event Timeline

eopXD created this revision.May 24 2023, 7:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 7:10 PM
eopXD requested review of this revision.May 24 2023, 7:10 PM
eopXD edited the summary of this revision. (Show Details)May 24 2023, 7:41 PM
This revision is now accepted and ready to land.May 24 2023, 8:05 PM
eopXD edited the summary of this revision. (Show Details)May 24 2023, 8:14 PM
eopXD updated this revision to Diff 526315.May 28 2023, 1:52 AM
eopXD edited the summary of this revision. (Show Details)

Rebase to latest main.

eopXD updated this revision to Diff 529172.Jun 6 2023, 11:06 PM

Update to latest main.

eopXD retitled this revision from [1/N][RISCV] Define machine instruction to write an immediate into vxrm to [1/3][RISCV] Define machine instruction to write an immediate into vxrm.Jun 8 2023, 9:47 AM
eopXD edited the summary of this revision. (Show Details)
eopXD updated this revision to Diff 529647.Jun 8 2023, 9:50 AM

Rebase to latest main.

eopXD updated this revision to Diff 531142.Jun 13 2023, 6:50 PM

Bump CI.