mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* Makefile.in (m32r.o): Depend on cpu.h
(extract.o): Pass -DSCACHE_P. * mloop.in (extract{16,32}): Update call to m32r_decode. * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate. * extract.c,model.c,sem-switch.c,sem.c: Regenerate. * sim-main.h: #include "ansidecl.h". Don't include cpu-opc.h, done by arch.h. start-sanitize-m32rx * Makefile.in (M32RX_OBJS): Build m32rx support now. (m32rx.o): New rule. * m32r-sim.h (m32rx_h_cr_[gs]et): Define. * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC. (m32rx_h_accums_get): New function. * mloopx.in: Update call to m32rx_decode. Rewrite exec loop. * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate. end-sanitize-m32rx
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
/* Simulator header for m32r.
|
||||
|
||||
This file is machine generated with CGEN.
|
||||
|
||||
Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU Simulators.
|
||||
@ -23,25 +25,19 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#ifndef M32R_ARCH_H
|
||||
#define M32R_ARCH_H
|
||||
|
||||
#define MAX_INSNS 166
|
||||
#include "m32r-opc.h"
|
||||
|
||||
#define TARGET_BIG_ENDIAN 1
|
||||
|
||||
/* Shorthand macro for fetching registers. */
|
||||
#define CPU(x) (CPU_CGEN_HW (current_cpu)->x)
|
||||
|
||||
/* Macros to determine which cpus are supported. */
|
||||
#define HAVE_CPU_M32R
|
||||
/* start-sanitize-m32rx */
|
||||
/*#define HAVE_CPU_M32RX*/
|
||||
/* end-sanitize-m32rx */
|
||||
|
||||
/* Enum declaration for mode types. */
|
||||
typedef enum mode_type {
|
||||
MODE_VM, MODE_BI, MODE_QI, MODE_HI,
|
||||
MODE_SI, MODE_DI, MODE_UBI, MODE_UQI,
|
||||
MODE_UHI, MODE_USI, MODE_UDI, MODE_SF,
|
||||
MODE_DF, MODE_XF, MODE_TF, MODE_MAX
|
||||
MODE_VM, MODE_BI, MODE_QI, MODE_HI
|
||||
, MODE_SI, MODE_DI, MODE_UBI, MODE_UQI
|
||||
, MODE_UHI, MODE_USI, MODE_UDI, MODE_SF
|
||||
, MODE_DF, MODE_XF, MODE_TF, MODE_MAX
|
||||
} MODE_TYPE;
|
||||
|
||||
#define MAX_MODES ((int) MODE_MAX)
|
||||
@ -58,8 +54,8 @@ typedef enum model_type {
|
||||
|
||||
/* Enum declaration for unit types. */
|
||||
typedef enum unit_type {
|
||||
UNIT_NONE, UNIT_M32R_D_U_STORE, UNIT_M32R_D_U_LOAD, UNIT_M32R_D_U_EXEC,
|
||||
UNIT_TEST_U_EXEC, UNIT_M32RX_U_EXEC, UNIT_MAX
|
||||
UNIT_NONE, UNIT_M32R_D_U_STORE, UNIT_M32R_D_U_LOAD, UNIT_M32R_D_U_EXEC
|
||||
, UNIT_TEST_U_EXEC, UNIT_M32RX_U_EXEC, UNIT_MAX
|
||||
} UNIT_TYPE;
|
||||
|
||||
#define MAX_UNITS (1)
|
||||
|
Reference in New Issue
Block a user