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 7 * published by the Free Software Foundation. 8 * 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 "incls/_precompiled.incl" 26 #include "incls/_register_definitions_x86.cpp.incl" 27 28 REGISTER_DEFINITION(Register, noreg); 29 REGISTER_DEFINITION(Register, rax); 30 REGISTER_DEFINITION(Register, rcx); 31 REGISTER_DEFINITION(Register, rdx); 32 REGISTER_DEFINITION(Register, rbx); 33 REGISTER_DEFINITION(Register, rsp); 34 REGISTER_DEFINITION(Register, rbp); 35 REGISTER_DEFINITION(Register, rsi); 36 REGISTER_DEFINITION(Register, rdi); 37 #ifdef AMD64 38 REGISTER_DEFINITION(Register, r8); 39 REGISTER_DEFINITION(Register, r9); 40 REGISTER_DEFINITION(Register, r10); 41 REGISTER_DEFINITION(Register, r11); 42 REGISTER_DEFINITION(Register, r12); 43 REGISTER_DEFINITION(Register, r13); 44 REGISTER_DEFINITION(Register, r14); 45 REGISTER_DEFINITION(Register, r15); 46 #endif // AMD64 | 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 7 * published by the Free Software Foundation. 8 * 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_MODEL_x86_32 30 # include "interp_masm_x86_32.hpp" 31 #endif 32 #ifdef TARGET_ARCH_MODEL_x86_64 33 # include "interp_masm_x86_64.hpp" 34 #endif 35 36 REGISTER_DEFINITION(Register, noreg); 37 REGISTER_DEFINITION(Register, rax); 38 REGISTER_DEFINITION(Register, rcx); 39 REGISTER_DEFINITION(Register, rdx); 40 REGISTER_DEFINITION(Register, rbx); 41 REGISTER_DEFINITION(Register, rsp); 42 REGISTER_DEFINITION(Register, rbp); 43 REGISTER_DEFINITION(Register, rsi); 44 REGISTER_DEFINITION(Register, rdi); 45 #ifdef AMD64 46 REGISTER_DEFINITION(Register, r8); 47 REGISTER_DEFINITION(Register, r9); 48 REGISTER_DEFINITION(Register, r10); 49 REGISTER_DEFINITION(Register, r11); 50 REGISTER_DEFINITION(Register, r12); 51 REGISTER_DEFINITION(Register, r13); 52 REGISTER_DEFINITION(Register, r14); 53 REGISTER_DEFINITION(Register, r15); 54 #endif // AMD64 |