RFR: 8315716: RISC-V: implement ChaCha20 intrinsic [v2]
Antonios Printezis
tonyp at openjdk.org
Fri Sep 29 14:57:12 UTC 2023
On Thu, 28 Sep 2023 14:40:31 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>>
>> revert adding t3-t6
>
> src/hotspot/cpu/riscv/assembler_riscv.hpp line 150:
>
>> 148: constexpr Register t5 = x30;
>> 149: constexpr Register t6 = x31;
>> 150:
>
> In your case it doesn't look like we need them?
>
> So I think you should revert these changes.
> As we may want to reserve one of those registers for something in the future.
> I don't think we should take lightly on just start using them.
@robehn Not sure I understand this argument. We can still use the registers using `x[28-31]`. Why not give them their more informative name? Also, I do use them in the MD5 intrinsic, FWIW.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15899#discussion_r1341461546
More information about the hotspot-dev
mailing list