Skip to content

Commit 8648890

Browse files
committed
8329749: Obsolete the unused UseNeon flag
Reviewed-by: chagedorn, kvn, aph
1 parent fc18201 commit 8648890

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

src/hotspot/cpu/aarch64/globals_aarch64.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ define_pd_global(intx, InlineSmallCode, 1000);
8585
\
8686
product(bool, NearCpool, true, \
8787
"constant pool is close to instructions") \
88-
product(bool, UseNeon, false, \
89-
"Use Neon for CRC32 computation") \
9088
product(bool, UseCRC32, false, \
9189
"Use CRC32 instructions for CRC32 computation") \
9290
product(bool, UseCryptoPmullForCRC32, false, \

src/hotspot/share/runtime/arguments.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ static SpecialFlag const special_jvm_flags[] = {
537537

538538
{ "ParallelOldDeadWoodLimiterMean", JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
539539
{ "ParallelOldDeadWoodLimiterStdDev", JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
540+
{ "UseNeon", JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
540541
#ifdef ASSERT
541542
{ "DummyObsoleteTestFlag", JDK_Version::undefined(), JDK_Version::jdk(18), JDK_Version::undefined() },
542543
#endif

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/aarch64/AArch64.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ public enum CPUFeature implements CPUFeatureName {
190190
*/
191191
public enum Flag {
192192
UseCRC32,
193-
UseNeon,
194193
UseSIMDForMemoryOps,
195194
AvoidUnalignedAccesses,
196195
UseLSE,

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotJVMCIBackendFactory.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2024, 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
@@ -58,9 +58,6 @@ private static EnumSet<AArch64.Flag> computeFlags(AArch64HotSpotVMConfig config)
5858
if (config.useCRC32) {
5959
flags.add(AArch64.Flag.UseCRC32);
6060
}
61-
if (config.useNeon) {
62-
flags.add(AArch64.Flag.UseNeon);
63-
}
6461
if (config.useSIMDForMemoryOps) {
6562
flags.add(AArch64.Flag.UseSIMDForMemoryOps);
6663
}

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotVMConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2024, 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
@@ -44,7 +44,6 @@ class AArch64HotSpotVMConfig extends HotSpotVMConfigAccess {
4444
* These flags are set based on the corresponding command line flags.
4545
*/
4646
final boolean useCRC32 = getFlag("UseCRC32", Boolean.class);
47-
final boolean useNeon = getFlag("UseNeon", Boolean.class);
4847
final boolean useSIMDForMemoryOps = getFlag("UseSIMDForMemoryOps", Boolean.class);
4948
final boolean avoidUnalignedAccesses = getFlag("AvoidUnalignedAccesses", Boolean.class);
5049
final boolean useLSE = getFlag("UseLSE", Boolean.class);

0 commit comments

Comments
 (0)