14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/macroAssembler.hpp"
28 #include "asm/macroAssembler.inline.hpp"
29 #include "memory/resourceArea.hpp"
30 #include "runtime/java.hpp"
31 #include "runtime/os.hpp"
32 #include "runtime/stubCodeGenerator.hpp"
33 #include "utilities/macros.hpp"
34 #include "vm_version_aarch64.hpp"
35
36 #include OS_HEADER_INLINE(os)
37
38 #include <sys/auxv.h>
39 #include <asm/hwcap.h>
40
41 #ifndef HWCAP_AES
42 #define HWCAP_AES (1<<3)
43 #endif
44
45 #ifndef HWCAP_PMULL
46 #define HWCAP_PMULL (1<<4)
47 #endif
48
49 #ifndef HWCAP_SHA1
50 #define HWCAP_SHA1 (1<<5)
51 #endif
52
53 #ifndef HWCAP_SHA2
54 #define HWCAP_SHA2 (1<<6)
|
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/macroAssembler.hpp"
28 #include "asm/macroAssembler.inline.hpp"
29 #include "memory/resourceArea.hpp"
30 #include "runtime/java.hpp"
31 #include "runtime/os.hpp"
32 #include "runtime/stubCodeGenerator.hpp"
33 #include "utilities/macros.hpp"
34 #include "runtime/vm_version.hpp"
35
36 #include OS_HEADER_INLINE(os)
37
38 #include <sys/auxv.h>
39 #include <asm/hwcap.h>
40
41 #ifndef HWCAP_AES
42 #define HWCAP_AES (1<<3)
43 #endif
44
45 #ifndef HWCAP_PMULL
46 #define HWCAP_PMULL (1<<4)
47 #endif
48
49 #ifndef HWCAP_SHA1
50 #define HWCAP_SHA1 (1<<5)
51 #endif
52
53 #ifndef HWCAP_SHA2
54 #define HWCAP_SHA2 (1<<6)
|