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

Jatin Bhateja jbhateja at openjdk.java.net
Wed Mar 17 01:51:10 UTC 2021


On Tue, 16 Mar 2021 21:09:24 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Instructions using kReg temp are all guarded by UseAVX > 2 checks. Thus they are never JITed.
>
> But then RA has to allocate a k-register irrespective of whether AVX512 is supported or not, doesn't it?

Yes, allocation will still happen but it will not seep into any JITed instruction. Reg_Defs/Operands/RegMask/RegClass are not guarded by target checks.

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

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


More information about the hotspot-compiler-dev mailing list