RFR: 8331577: RISC-V: C2 CountLeadingZerosV [v2]
Fei Yang
fyang at openjdk.org
Thu May 9 13:20:51 UTC 2024
On Thu, 9 May 2024 12:43:21 GMT, Hamlin Li <mli at openjdk.org> wrote:
> > Sorry for not being accurate. In fact, I mean requirement at the Java level. Why should we keep the origin value of inactive elements from the input vector? I didn't notice such a requirement before.
>
> I'm not sure about other places, but in vector APi, if you do operations with a mask, then the untouched (inactive in riscv vector insts) elements should be unmodified, i.e. same as original values.
It will be helpful if you could point to the specific code or examples.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19153#issuecomment-2102645274
More information about the hotspot-compiler-dev
mailing list