[jdk17] RFR: 8269828: corrections in some instruction patterns for KNL x86 platform

Jatin Bhateja jbhateja at openjdk.java.net
Thu Jul 8 09:47:24 UTC 2021


On Wed, 7 Jul 2021 20:11:33 GMT, Dean Long <dlong at openjdk.org> wrote:

> @jatin-bhateja Could you explain more about the spilling/restoration problem? I guess this fix solves both problems, at least for ClearArray, but what about other instructions?

Hi @dean-long , each bit of register mask corresponds to 32 bit word, in case of regD operand (scalar) mask will have two bits where as for vecX operand (vector) mask will have 4 bit set. This will result into difference in spill sizes even if both these operands are allocated same physical register set (xmm0-15/31) . As per usual process separate RFE will be filed on encounteting more erroneous patterns.

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

PR: https://git.openjdk.java.net/jdk17/pull/225


More information about the hotspot-compiler-dev mailing list