RFR: 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled [v5]
Vladimir Kempik
vkempik at openjdk.org
Thu May 4 14:42:18 UTC 2023
On Thu, 4 May 2023 06:56:38 GMT, Fei Yang <fyang at openjdk.org> wrote:
>> why have you replaced revb_w_w with revb_h_h ?
>
>> why have you replaced revb_w_w with revb_h_h ?
>
> Because it's cheaper in respect of number of instructions emitted when Zbb extension is not available and achieves the same functionality.
A thanks, took time to understand the __ revb_w_w(x10, x10); __ sraiw(x10, x10, 16); was kind of too much here
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13645#discussion_r1185118401
More information about the hotspot-dev
mailing list