Mercurial > hg > icedtea8-forest > hotspot
changeset 10586:f76744714698 icedtea-3.15.0 icedtea-3.16.0pre00
8073108, PR3772: [AArch64] Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
author | ascarpino |
---|---|
date | Mon, 20 Jan 2020 01:51:33 +0000 |
parents | 20cba946289b |
children | 5c3263eb2e2e |
files | src/cpu/aarch64/vm/vm_version_aarch64.cpp |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/vm_version_aarch64.cpp Thu Sep 24 12:04:57 2015 +0200 +++ b/src/cpu/aarch64/vm/vm_version_aarch64.cpp Mon Jan 20 01:51:33 2020 +0000 @@ -1,7 +1,6 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2015, Red Hat Inc. All rights reserved. - * All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -227,6 +226,11 @@ } } + if (UseGHASHIntrinsics) { + warning("GHASH intrinsics are not available on this CPU"); + FLAG_SET_DEFAULT(UseGHASHIntrinsics, false); + } + if (FLAG_IS_DEFAULT(UseCRC32Intrinsics)) { UseCRC32Intrinsics = true; }