diff options
author | Philip Reames <preames@rivosinc.com> | 2025-04-25 07:59:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 07:59:40 -0700 |
commit | 9062a38d5d15d74f8019a30b8a0012747dfad6a8 (patch) | |
tree | db4645150f5e45178b451c5c5c06d217716cc75d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 63d5e64f1e729613157683a149b9141e80e0b0c9 (diff) | |
download | llvm-9062a38d5d15d74f8019a30b8a0012747dfad6a8.zip llvm-9062a38d5d15d74f8019a30b8a0012747dfad6a8.tar.gz llvm-9062a38d5d15d74f8019a30b8a0012747dfad6a8.tar.bz2 |
[RISCV] Add codegen support for ri.vinsert.v.x and ri.vextract.x.v (#136708)
These instructions are included in XRivosVisni. They perform a scalar
insert into a vector (with a potentially non-zero index) and a scalar
extract from a vector (with a potentially non-zero index) respectively.
They're very analogous to vmv.s.x and vmv.x.s respectively.
The instructions do have a couple restrictions:
1) Only constant indices are supported w/a uimm5 format.
2) There are no FP variants.
One important property of these instructions is that their throughput
and latency are expected to be LMUL independent.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions