Skip to content
Permalink
Browse files
8255351: Add detection for Graviton 2 CPUs
Reviewed-by: simonis, kvn
  • Loading branch information
eastig authored and Vladimir Kozlov committed Nov 26, 2020
1 parent 62d72de commit 2215e5a47e1985782f5c4085b16ddb8512d1d654
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
@@ -174,6 +174,13 @@ void VM_Version::initialize() {
}
}

// Neoverse N1
if (_cpu == CPU_ARM && (_model == 0xd0c || _model2 == 0xd0c)) {
if (FLAG_IS_DEFAULT(UseSIMDForMemoryOps)) {
FLAG_SET_DEFAULT(UseSIMDForMemoryOps, true);
}
}

if (_cpu == CPU_ARM) {
if (FLAG_IS_DEFAULT(UseSignumIntrinsic)) {
FLAG_SET_DEFAULT(UseSignumIntrinsic, true);

1 comment on commit 2215e5a

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 2215e5a Nov 26, 2020

Please sign in to comment.