57a7db145be35802373cd91fab208e7d902fd101
1 /* Simulator header for m32r.
3 This file is machine generated with CGEN.
5 Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
7 This file is part of the GNU Simulators.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 #define TARGET_BIG_ENDIAN 1
32 /* Shorthand macro for fetching registers. */
33 #define CPU(x) (CPU_CGEN_HW (current_cpu)->x)
35 /* Enum declaration for mode types. */
36 typedef enum mode_type
{
37 MODE_VM
, MODE_BI
, MODE_QI
, MODE_HI
38 , MODE_SI
, MODE_DI
, MODE_UBI
, MODE_UQI
39 , MODE_UHI
, MODE_USI
, MODE_UDI
, MODE_SF
40 , MODE_DF
, MODE_XF
, MODE_TF
, MODE_MAX
43 #define MAX_MODES ((int) MODE_MAX)
45 /* Return name of instruction numbered INSN. */
46 #define INSN_NAME(insn) (m32r_cgen_insn_table_entries[insn].name)
48 /* Enum declaration for model types. */
49 typedef enum model_type
{
50 MODEL_M32R_D
, MODEL_TEST
, MODEL_M32RX
, MODEL_MAX
53 #define MAX_MODELS ((int) MODEL_MAX)
55 /* Enum declaration for unit types. */
56 typedef enum unit_type
{
57 UNIT_NONE
, UNIT_M32R_D_U_STORE
, UNIT_M32R_D_U_LOAD
, UNIT_M32R_D_U_EXEC
58 , UNIT_TEST_U_EXEC
, UNIT_M32RX_U_EXEC
, UNIT_MAX
63 #endif /* M32R_ARCH_H */
This page took 0.030441 seconds and 4 git commands to generate.