Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/stubRoutines_x86_64.hpp @ 6894:a3ecd773a7b9
7184394: add intrinsics to use AES instructions
Summary: Use new x86 AES instructions for AESCrypt.
Reviewed-by: twisti, kvn, roland
Contributed-by: tom.deneau@amd.com
author | kvn |
---|---|
date | Wed, 24 Oct 2012 14:33:22 -0700 |
parents | b9a9ed0f8eeb |
children | b800986664f4 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubRoutines_x86_64.hpp Tue Oct 23 13:06:37 2012 -0700 +++ b/src/cpu/x86/vm/stubRoutines_x86_64.hpp Wed Oct 24 14:33:22 2012 -0700 @@ -54,6 +54,8 @@ static address _double_sign_mask; static address _double_sign_flip; static address _mxcsr_std; + // shuffle mask for fixing up 128-bit words consisting of big-endian 32-bit integers + static address _key_shuffle_mask_addr; public: @@ -116,6 +118,9 @@ { return _mxcsr_std; } + + static address key_shuffle_mask_addr() { return _key_shuffle_mask_addr; } + }; #endif // CPU_X86_VM_STUBROUTINES_X86_64_HPP