Skip to content

Commit 3c0c998

Browse files
cnqpzhangAndrew Haley
authored and
Andrew Haley
committed
8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
Backport-of: 23389d08a2b5c0840d2b18fb2e74d2d112b3192d
1 parent 7b9e268 commit 3c0c998

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/aarch64/vm_version_aarch64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ void VM_Version::initialize() {
158158
if (FLAG_IS_DEFAULT(OnSpinWaitInstCount)) {
159159
FLAG_SET_DEFAULT(OnSpinWaitInstCount, 2);
160160
}
161+
if (FLAG_IS_DEFAULT(UseSignumIntrinsic)) {
162+
FLAG_SET_DEFAULT(UseSignumIntrinsic, true);
163+
}
161164
}
162165

163166
// ThunderX

0 commit comments

Comments
 (0)