20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
|
29 */ |
|
30 |
25 #include "precompiled.hpp" |
31 #include "precompiled.hpp" |
26 #include "opto/c2compiler.hpp" |
32 #include "opto/c2compiler.hpp" |
27 #include "opto/runtime.hpp" |
33 #include "opto/runtime.hpp" |
28 #if defined AD_MD_HPP |
34 #if defined AD_MD_HPP |
29 # include AD_MD_HPP |
35 # include AD_MD_HPP |
35 # include "adfiles/ad_sparc.hpp" |
41 # include "adfiles/ad_sparc.hpp" |
36 #elif defined TARGET_ARCH_MODEL_zero |
42 #elif defined TARGET_ARCH_MODEL_zero |
37 # include "adfiles/ad_zero.hpp" |
43 # include "adfiles/ad_zero.hpp" |
38 #elif defined TARGET_ARCH_MODEL_ppc_64 |
44 #elif defined TARGET_ARCH_MODEL_ppc_64 |
39 # include "adfiles/ad_ppc_64.hpp" |
45 # include "adfiles/ad_ppc_64.hpp" |
|
46 #elif defined TARGET_ARCH_MODEL_mips_64 |
|
47 # include "adfiles/ad_mips_64.hpp" |
40 #endif |
48 #endif |
41 |
49 |
42 // register information defined by ADLC |
50 // register information defined by ADLC |
43 extern const char register_save_policy[]; |
51 extern const char register_save_policy[]; |
44 extern const int register_save_type[]; |
52 extern const int register_save_type[]; |