RFR: 8315716: RISC-V: implement ChaCha20 intrinsic [v2]
Antonios Printezis
tonyp at openjdk.org
Fri Sep 29 14:57:14 UTC 2023
On Fri, 29 Sep 2023 14:37:11 GMT, Antonios Printezis <tonyp at openjdk.org> wrote:
>> Sure, in fact vsetvli was already modifed to use default arguments as you suggested.
>
>> Maybe this can't happen here since you work with such nice size.
>
> Yeah, but given we don't know what the vector register size is I don't think we can assume anything about how "nice" the size is. ;-) I agree with Robbin here, I think mu / tu is the right approach.
> I don't think ma/ta will ever be correct when working on Java heap.
What if we know that the operation is definitely touching memory that's inside the object? And why is it different to working on, say, the C-heap? You can have other objects on either side in both cases.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15899#discussion_r1341454992
More information about the hotspot-dev
mailing list