src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp	Tue Jun 10 17:34:39 2014
--- new/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp	Tue Jun 10 17:34:39 2014

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2006, 2014, Oracle and/or its affiliates. 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 135,144 **** --- 135,159 ---- #ifndef AV_SPARC_AES #define AV_SPARC_AES 0x00020000 /* aes instrs supported */ #endif if (av & AV_SPARC_AES) features |= aes_instructions_m; + #ifndef AV_SPARC_SHA1 + #define AV_SPARC_SHA1 0x00400000 /* sha1 instruction supported */ + #endif + if (av & AV_SPARC_SHA1) features |= sha1_instruction_m; + + #ifndef AV_SPARC_SHA256 + #define AV_SPARC_SHA256 0x00800000 /* sha256 instruction supported */ + #endif + if (av & AV_SPARC_SHA256) features |= sha256_instruction_m; + + #ifndef AV_SPARC_SHA512 + #define AV_SPARC_SHA512 0x01000000 /* sha512 instruction supported */ + #endif + if (av & AV_SPARC_SHA512) features |= sha512_instruction_m; + } else { // getisax(2) failed, use the old legacy code. #ifndef PRODUCT if (PrintMiscellaneous && Verbose) tty->print_cr("getisax(2) is not supported.");

src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File