Skip to content
This repository has been archived by the owner. It is now read-only.
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);

0 comments on commit 2215e5a

Please sign in to comment.