[jdk11u-dev] Integrated: 8307572: AArch64: Vector registers are clobbered by some macroassemblers

Ningsheng Jian njian at openjdk.org
Wed Jul 12 08:52:19 UTC 2023


On Mon, 10 Jul 2023 10:29:37 GMT, Ningsheng Jian <njian at openjdk.org> wrote:

> jdk11 also has the bug of JDK-8307572, so I propose to backport the fix to jdk11u. This is not a clean backport. Main changes:
> 
> 1) Definition of reg_class v4_reg..v7_reg, and operand vRegD_V4..vRegD_V7 are missing in jdk11u aarch64.ad, which was introduced in JDK-8214527. Added those definitions in this patch, as we need to claim them to be killed in match rules.
> 
> 2) JDK-8274243 (not a valid backport for 11u) changed MacroAssembler::encode_iso_array() a lot, but the bug of invalid use of v4/v5 still exists before and after that patch. Fixed the conflicts by using jdk11u naming convention.
> 
> No new jtreg test failure with both release and fastdebug build. Test case added in JDK-8307572 passes now, which fails without the backport.

This pull request has now been integrated.

Changeset: 32e16aef
Author:    Ningsheng Jian <njian at openjdk.org>
Committer: Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/32e16aefa99f3688b1c3c100613c699e678c4c1b
Stats:     449 lines in 5 files changed: 392 ins; 0 del; 57 mod

8307572: AArch64: Vector registers are clobbered by some macroassemblers

Reviewed-by: aph
Backport-of: 33d9a857308eed53e06b448691910bc8aa2f8fc9

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2032


More information about the jdk-updates-dev mailing list