[jdk17] Integrated: 8268366 Incorrect calculation of has_fpu_registers in C1 linear scan

Dean Long dlong at openjdk.java.net
Mon Jun 14 19:29:03 UTC 2021


On Thu, 10 Jun 2021 23:43:43 GMT, Dean Long <dlong at openjdk.org> wrote:

> If there is a mismatch between bytecode use of floating point and generated IR, has_fpu_registers can get an incorrect value and result in a crash or assert.  This PR adds a missing case for the computation of has_fpu_registers, restores an assert that was removed, adds a bailout for non-debug builds, and adds a test.

This pull request has now been integrated.

Changeset: 702e3ff0
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/702e3ff05472e35140b38fd5a4d1266f4efdd7bb
Stats:     74 lines in 2 files changed: 69 ins; 1 del; 4 mod

8268366: Incorrect calculation of has_fpu_registers in C1 linear scan

Reviewed-by: kvn, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list