1 /* 2 * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 // make sure the defines don't screw up the declarations later on in this file 26 #define DONT_USE_REGISTER_DEFINES 27 28 #include "precompiled.hpp" 29 #include "asm/assembler.hpp" 30 #include "asm/register.hpp" 31 #include "interp_masm_sparc.hpp" 32 #include "register_sparc.hpp" 33 34 REGISTER_DEFINITION(Register, noreg); 35 36 REGISTER_DEFINITION(Register, G0); 37 REGISTER_DEFINITION(Register, G1); 38 REGISTER_DEFINITION(Register, G2); 39 REGISTER_DEFINITION(Register, G3); 40 REGISTER_DEFINITION(Register, G4); 41 REGISTER_DEFINITION(Register, G5); 42 REGISTER_DEFINITION(Register, G6); 43 REGISTER_DEFINITION(Register, G7); 44 45 REGISTER_DEFINITION(Register, O0); 46 REGISTER_DEFINITION(Register, O1); 47 REGISTER_DEFINITION(Register, O2); 48 REGISTER_DEFINITION(Register, O3); | 1 /* 2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 // make sure the defines don't screw up the declarations later on in this file 26 #define DONT_USE_REGISTER_DEFINES 27 28 // Note: precompiled headers can not be used in this file because of the above 29 // definition 30 31 #include "asm/assembler.hpp" 32 #include "asm/register.hpp" 33 #include "interp_masm_sparc.hpp" 34 #include "register_sparc.hpp" 35 36 REGISTER_DEFINITION(Register, noreg); 37 38 REGISTER_DEFINITION(Register, G0); 39 REGISTER_DEFINITION(Register, G1); 40 REGISTER_DEFINITION(Register, G2); 41 REGISTER_DEFINITION(Register, G3); 42 REGISTER_DEFINITION(Register, G4); 43 REGISTER_DEFINITION(Register, G5); 44 REGISTER_DEFINITION(Register, G6); 45 REGISTER_DEFINITION(Register, G7); 46 47 REGISTER_DEFINITION(Register, O0); 48 REGISTER_DEFINITION(Register, O1); 49 REGISTER_DEFINITION(Register, O2); 50 REGISTER_DEFINITION(Register, O3); |