Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp @ 17670:04d32e7fad07
8002074: Support for AES on SPARC
Summary: Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.
Reviewed-by: kvn, roland
Contributed-by: shrinivas.joshi@oracle.com
author | kvn |
---|---|
date | Tue, 14 Jan 2014 17:46:48 -0800 |
parents | b9a9ed0f8eeb |
children | 73b1030c6253 |
comparison
equal
deleted
inserted
replaced
17669:2996010c4820 | 17670:04d32e7fad07 |
---|---|
116 | 116 |
117 #ifndef AV_SPARC_CBCOND | 117 #ifndef AV_SPARC_CBCOND |
118 #define AV_SPARC_CBCOND 0x10000000 /* compare and branch instrs supported */ | 118 #define AV_SPARC_CBCOND 0x10000000 /* compare and branch instrs supported */ |
119 #endif | 119 #endif |
120 if (av & AV_SPARC_CBCOND) features |= cbcond_instructions_m; | 120 if (av & AV_SPARC_CBCOND) features |= cbcond_instructions_m; |
121 | |
122 #ifndef AV_SPARC_AES | |
123 #define AV_SPARC_AES 0x00020000 /* aes instrs supported */ | |
124 #endif | |
125 if (av & AV_SPARC_AES) features |= aes_instructions_m; | |
121 | 126 |
122 } else { | 127 } else { |
123 // getisax(2) failed, use the old legacy code. | 128 // getisax(2) failed, use the old legacy code. |
124 #ifndef PRODUCT | 129 #ifndef PRODUCT |
125 if (PrintMiscellaneous && Verbose) | 130 if (PrintMiscellaneous && Verbose) |