RFR: 8294012: [riscv] get/put_native_u8 missing the case when address&7 is 6
Aleksey Shipilev
shade at openjdk.org
Mon Sep 19 17:39:45 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.
I like it, seems other arches might do the same. Do we have any data how common "mod 6" is?
-------------
PR: https://git.openjdk.org/jdk/pull/10344
More information about the hotspot-compiler-dev
mailing list