Skip to content

Commit 37e498d

Browse files
author
duke
committed
Backport 45990d7
1 parent aae9f92 commit 37e498d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/hotspot/cpu/x86/macroAssembler_x86.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -5889,7 +5889,7 @@ void MacroAssembler::generate_fill(BasicType t, bool aligned,
58895889
vpbroadcastd(xtmp, xtmp, Assembler::AVX_512bit);
58905890

58915891
subptr(count, 16 << shift);
5892-
jccb(Assembler::less, L_check_fill_32_bytes);
5892+
jcc(Assembler::less, L_check_fill_32_bytes);
58935893
align(16);
58945894

58955895
BIND(L_fill_64_bytes_loop_avx3);

test/hotspot/jtreg/compiler/c2/ClearArray.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
2424

2525
/*
2626
* @test ClearArray.java
27-
* @bug 8284883
27+
* @bug 8284883 8374570
2828
* @compile ClearArray.java
2929
* @summary ClearArray instruction overflows scratch buffer
3030
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -Xbatch
@@ -33,6 +33,8 @@
3333
* -XX:InitArrayShortSize=32768 -XX:-IdealizeClearArrayNode -XX:UseAVX=3 compiler.c2.ClearArray
3434
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -Xbatch
3535
* -XX:InitArrayShortSize=32768 -XX:MaxVectorSize=8 -XX:-IdealizeClearArrayNode -XX:UseAVX=3 compiler.c2.ClearArray
36+
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -Xbatch
37+
* -XX:+EnableX86ECoreOpts -XX:MaxVectorSize=8 -XX:UseAVX=3 compiler.c2.ClearArray
3638
*/
3739

3840
package compiler.c2;

0 commit comments

Comments
 (0)