RFR: 8294012: [riscv] get/put_native_u8 missing the case when address&7 is 6
Vladimir Kempik
vkempik at openjdk.org
Mon Sep 19 17:50:44 UTC 2022
On Mon, 19 Sep 2022 14:50:38 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:
> Please review this small fix, making get/put_native_u8 a slightly more efficient on riscv
> original code misses the case when address AND 7 is 6, and making such cases to be read/write with a 1 byte move.
>
> Test results on risc-v to follow soon.
For now the usage of it may be very little, but once we get rid of unaligned access from risc-v port , it may become useful in things like emit_int64, emit_double, emit_address
-------------
PR: https://git.openjdk.org/jdk/pull/10344
More information about the hotspot-compiler-dev
mailing list