aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/c1/c1_Defs.hpp
diff options
context:
space:
mode:
author"Andrew Dinn ext:(%22) <adinn@redhat.com>2012-07-10 15:26:12 +0100
committer"Andrew Dinn ext:(%22) <adinn@redhat.com>2012-07-10 15:26:12 +0100
commitdaa2a922da8df8dca6ff8230bbd4757e7c251f2c (patch)
tree444843350362659ea185d53caffb241b46a7921b /src/share/vm/c1/c1_Defs.hpp
parent60bd673086dc76432c7cd5221a22115296d08428 (diff)
Removed x86 code to create skeleton aarch64 tree
renamed all files in cpu and os_cpu tree with _x86 in their name to employ aarch64 instead modifed all shared files to include aarch64 specific files under new name when TARGET_ARCH_aarch64 is defined -- or alternatively when TARGET_ARCH_MODEL_aarch64 is defined in cases where there was a split between including x86_32 and x86/64 code. modified make system to build aarch64 server target with only the C1 compiler (yet, for execution on the amd64 platform) if SRCARCH=aarch64 is defined on the make command line gutted all x86-specific content from new aarch64 headers/sources, including static init, and inserted call to Undefined() in all method bodies added missing definition for class MacroAssembler anda few other necessary classes to assembler_aarch64.cpp and provided dummy stubs to allow Assembler to be driven. Removed the test code call which was in the template interpreter (from method generate_AARM64_loop()). Added a new file aarch64Test.cpp which provides a test hook method to drive the test method entry() found in assembler_aarch64.cpp and then exit. Arranged for this test hook method to be called under the jvm bootstrap init method at the first call into arch-specific code (in icache_aarch64.cpp). Added a minimal aarch64.ad architecture definition file but this is not really needed since we ar eonly building a C1 runtime.
Diffstat (limited to 'src/share/vm/c1/c1_Defs.hpp')
-rw-r--r--src/share/vm/c1/c1_Defs.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/share/vm/c1/c1_Defs.hpp b/src/share/vm/c1/c1_Defs.hpp
index bebb3b0be..b0cd76373 100644
--- a/src/share/vm/c1/c1_Defs.hpp
+++ b/src/share/vm/c1/c1_Defs.hpp
@@ -29,6 +29,9 @@
#ifdef TARGET_ARCH_x86
# include "register_x86.hpp"
#endif
+#ifdef TARGET_ARCH_aarch64
+# include "register_aarch64.hpp"
+#endif
#ifdef TARGET_ARCH_sparc
# include "register_sparc.hpp"
#endif
@@ -53,6 +56,9 @@ enum {
#ifdef TARGET_ARCH_x86
# include "c1_Defs_x86.hpp"
#endif
+#ifdef TARGET_ARCH_aarch64
+# include "c1_Defs_aarch64.hpp"
+#endif
#ifdef TARGET_ARCH_sparc
# include "c1_Defs_sparc.hpp"
#endif