RFR: 8221404: C2: Convert RegMask and IndexSet to use uintptr_t [v2]
Claes Redestad
redestad at openjdk.java.net
Mon Nov 9 17:10:57 UTC 2020
On Mon, 9 Nov 2020 16:59:52 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Avoid using ULL
>
> src/hotspot/share/opto/indexSet.hpp line 67:
>
>> 65: block_index_length = 8,
>> 66: // Split over 4 or 8 words depending on bitness
>> 67: word_index_length = block_index_length - LogBitsPerWord,
>
> Nice. I also thought about using ‘word’ definitions.
Thanks! @vidmik pushed me to come up with derived definitions here rather than adding another magic constant for 64-bit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1102
More information about the hotspot-compiler-dev
mailing list