RFR: 8315716: RISC-V: implement ChaCha20 intrinsic

Hamlin Li mli at openjdk.org
Wed Sep 27 10:09:44 UTC 2023


On Wed, 27 Sep 2023 09:36:15 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> Is there a difference between mv and li? Seems that mv(...) is calling li(...)?
>> 
>>   template<typename T, ENABLE_IF(std::is_integral<T>::value)>
>>   inline void mv(Register Rd, T o)                    { li(Rd, (int64_t)o); }
>> 
>> Or the recommendation is a code convention?
>
> It's only code convention in Hotspot.

Thanks for confirmation!

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15899#discussion_r1338374627


More information about the hotspot-dev mailing list