< prev index next >

src/cpu/x86/vm/register_definitions_x86.cpp

Print this page
rev 11647 : 8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett


   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/assembler.hpp"
  27 #include "asm/register.hpp"
  28 #include "register_x86.hpp"
  29 #ifdef TARGET_ARCH_x86
  30 # include "interp_masm_x86.hpp"
  31 #endif
  32 
  33 REGISTER_DEFINITION(Register, noreg);
  34 REGISTER_DEFINITION(Register, rax);
  35 REGISTER_DEFINITION(Register, rcx);
  36 REGISTER_DEFINITION(Register, rdx);
  37 REGISTER_DEFINITION(Register, rbx);
  38 REGISTER_DEFINITION(Register, rsp);
  39 REGISTER_DEFINITION(Register, rbp);
  40 REGISTER_DEFINITION(Register, rsi);
  41 REGISTER_DEFINITION(Register, rdi);
  42 #ifdef AMD64
  43 REGISTER_DEFINITION(Register, r8);
  44 REGISTER_DEFINITION(Register, r9);
  45 REGISTER_DEFINITION(Register, r10);
  46 REGISTER_DEFINITION(Register, r11);
  47 REGISTER_DEFINITION(Register, r12);
  48 REGISTER_DEFINITION(Register, r13);
  49 REGISTER_DEFINITION(Register, r14);
  50 REGISTER_DEFINITION(Register, r15);
  51 #endif // AMD64




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/assembler.hpp"
  27 #include "asm/register.hpp"
  28 #include "register_x86.hpp"
  29 #include "interp_masm_x86.hpp"


  30 
  31 REGISTER_DEFINITION(Register, noreg);
  32 REGISTER_DEFINITION(Register, rax);
  33 REGISTER_DEFINITION(Register, rcx);
  34 REGISTER_DEFINITION(Register, rdx);
  35 REGISTER_DEFINITION(Register, rbx);
  36 REGISTER_DEFINITION(Register, rsp);
  37 REGISTER_DEFINITION(Register, rbp);
  38 REGISTER_DEFINITION(Register, rsi);
  39 REGISTER_DEFINITION(Register, rdi);
  40 #ifdef AMD64
  41 REGISTER_DEFINITION(Register, r8);
  42 REGISTER_DEFINITION(Register, r9);
  43 REGISTER_DEFINITION(Register, r10);
  44 REGISTER_DEFINITION(Register, r11);
  45 REGISTER_DEFINITION(Register, r12);
  46 REGISTER_DEFINITION(Register, r13);
  47 REGISTER_DEFINITION(Register, r14);
  48 REGISTER_DEFINITION(Register, r15);
  49 #endif // AMD64


< prev index next >