Skip to content

Commit b025d8c

Browse files
cnqpzhangadinn
authored andcommitted
8350663: AArch64: Enable UseSignumIntrinsic by default
Reviewed-by: adinn
1 parent a37d843 commit b025d8c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/hotspot/cpu/aarch64/vm_version_aarch64.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ void VM_Version::initialize() {
161161
(_model == CPU_MODEL_AMPERE_1A || _model == CPU_MODEL_AMPERE_1B)) {
162162
FLAG_SET_DEFAULT(CodeEntryAlignment, 32);
163163
}
164-
if (FLAG_IS_DEFAULT(UseSignumIntrinsic)) {
165-
FLAG_SET_DEFAULT(UseSignumIntrinsic, true);
166-
}
167164
}
168165

169166
// ThunderX
@@ -243,7 +240,7 @@ void VM_Version::initialize() {
243240
}
244241
}
245242

246-
if (_cpu == CPU_ARM) {
243+
if (_features & (CPU_FP | CPU_ASIMD)) {
247244
if (FLAG_IS_DEFAULT(UseSignumIntrinsic)) {
248245
FLAG_SET_DEFAULT(UseSignumIntrinsic, true);
249246
}

0 commit comments

Comments
 (0)