1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 #ifndef SHARE_VM_OPTO_REGMASK_HPP |
25 #ifndef SHARE_VM_OPTO_REGMASK_HPP |
26 #define SHARE_VM_OPTO_REGMASK_HPP |
26 #define SHARE_VM_OPTO_REGMASK_HPP |
27 |
27 |
28 #include "code/vmreg.hpp" |
28 #include "code/vmreg.hpp" |
29 #include "opto/optoreg.hpp" |
29 #include "opto/optoreg.hpp" |
30 #ifdef TARGET_ARCH_MODEL_x86_32 |
|
31 # include "adfiles/adGlobals_x86_32.hpp" |
|
32 #endif |
|
33 #ifdef TARGET_ARCH_MODEL_x86_64 |
|
34 # include "adfiles/adGlobals_x86_64.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_ARCH_MODEL_sparc |
|
37 # include "adfiles/adGlobals_sparc.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_ARCH_MODEL_zero |
|
40 # include "adfiles/adGlobals_zero.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_ARCH_MODEL_arm |
|
43 # include "adfiles/adGlobals_arm.hpp" |
|
44 #endif |
|
45 #ifdef TARGET_ARCH_MODEL_ppc_32 |
|
46 # include "adfiles/adGlobals_ppc_32.hpp" |
|
47 #endif |
|
48 #ifdef TARGET_ARCH_MODEL_ppc_64 |
|
49 # include "adfiles/adGlobals_ppc_64.hpp" |
|
50 #endif |
|
51 |
30 |
52 // Some fun naming (textual) substitutions: |
31 // Some fun naming (textual) substitutions: |
53 // |
32 // |
54 // RegMask::get_low_elem() ==> RegMask::find_first_elem() |
33 // RegMask::get_low_elem() ==> RegMask::find_first_elem() |
55 // RegMask::Special ==> RegMask::Empty |
34 // RegMask::Special ==> RegMask::Empty |