comparison 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
comparison
equal deleted inserted replaced
6893:b2c669fd8114 6894:a3ecd773a7b9
52 static address _float_sign_mask; 52 static address _float_sign_mask;
53 static address _float_sign_flip; 53 static address _float_sign_flip;
54 static address _double_sign_mask; 54 static address _double_sign_mask;
55 static address _double_sign_flip; 55 static address _double_sign_flip;
56 static address _mxcsr_std; 56 static address _mxcsr_std;
57 // shuffle mask for fixing up 128-bit words consisting of big-endian 32-bit integers
58 static address _key_shuffle_mask_addr;
57 59
58 public: 60 public:
59 61
60 static address get_previous_fp_entry() 62 static address get_previous_fp_entry()
61 { 63 {
114 116
115 static address mxcsr_std() 117 static address mxcsr_std()
116 { 118 {
117 return _mxcsr_std; 119 return _mxcsr_std;
118 } 120 }
121
122 static address key_shuffle_mask_addr() { return _key_shuffle_mask_addr; }
123
119 }; 124 };
120 125
121 #endif // CPU_X86_VM_STUBROUTINES_X86_64_HPP 126 #endif // CPU_X86_VM_STUBROUTINES_X86_64_HPP