src/cpu/sparc/vm/register_definitions_sparc.cpp

Print this page




   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 "incls/_precompiled.incl"
  29 #include "incls/_register_definitions_sparc.cpp.incl"



  30 
  31 REGISTER_DEFINITION(Register, noreg);
  32 
  33 REGISTER_DEFINITION(Register, G0);
  34 REGISTER_DEFINITION(Register, G1);
  35 REGISTER_DEFINITION(Register, G2);
  36 REGISTER_DEFINITION(Register, G3);
  37 REGISTER_DEFINITION(Register, G4);
  38 REGISTER_DEFINITION(Register, G5);
  39 REGISTER_DEFINITION(Register, G6);
  40 REGISTER_DEFINITION(Register, G7);
  41 
  42 REGISTER_DEFINITION(Register, O0);
  43 REGISTER_DEFINITION(Register, O1);
  44 REGISTER_DEFINITION(Register, O2);
  45 REGISTER_DEFINITION(Register, O3);
  46 REGISTER_DEFINITION(Register, O4);
  47 REGISTER_DEFINITION(Register, O5);
  48 REGISTER_DEFINITION(Register, O6);
  49 REGISTER_DEFINITION(Register, O7);




   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);
  49 REGISTER_DEFINITION(Register, O4);
  50 REGISTER_DEFINITION(Register, O5);
  51 REGISTER_DEFINITION(Register, O6);
  52 REGISTER_DEFINITION(Register, O7);