RFR: 8262355: Support for AVX-512 opmask register allocation. [v4]

Vladimir Kozlov kvn at openjdk.java.net
Mon Mar 29 23:05:48 UTC 2021


On Wed, 17 Mar 2021 04:33:52 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Hm, still not clear to me why it matters only now. 
>> Is it because predicate registers are put at the very end and the wrong sizing leaves them out of the RegMask bit map on x86-32?
>
> Yes , its needed for correct computation RM_SIZE (number of of words to hold a RegMask), till now we were not accounting FILL register count while computing total number of registers, but it was not hurting since number of words is the ceiling multiple of word size.

Add comment to this line explaining where 8 and 0 numbers coming from.

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

PR: https://git.openjdk.java.net/jdk/pull/2768


More information about the hotspot-compiler-dev mailing list