diff options
author | eopXD <yueh.ting.chen@gmail.com> | 2023-05-18 05:27:40 -0700 |
---|---|---|
committer | eopXD <yueh.ting.chen@gmail.com> | 2023-06-15 01:37:43 -0700 |
commit | 56c25575ce7434e63b5b52351e5072566250018b (patch) | |
tree | 4999cd69b3056e279343e1be2e478d442d3c0270 /clang/lib/Lex/ModuleMap.cpp | |
parent | 10e42281144ecca019764b554f3f0f709bba0f71 (diff) | |
download | llvm-56c25575ce7434e63b5b52351e5072566250018b.zip llvm-56c25575ce7434e63b5b52351e5072566250018b.tar.gz llvm-56c25575ce7434e63b5b52351e5072566250018b.tar.bz2 |
[1/3][RISCV] Define machine instruction to write an immediate into vxrm
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](https://github.com/riscv-non-isa/rvv-intrinsic-doc/pull/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`.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D151395
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions