const MACH machs[] = {
{ "m32r", 32, 32, & m32r_models[0], & m32r_imp_properties },
+/* start-sanitize-m32rx */
+ { "m32rx", 32, 32, & m32rx_models[0], & m32rx_imp_properties },
+/* end-sanitize-m32rx */
{ 0 }
};
#ifndef M32R_ARCH_H
#define M32R_ARCH_H
-#define MAX_INSNS 128
+#define MAX_INSNS 166
#define TARGET_BIG_ENDIAN 1
/* 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 {
/* Enum declaration for model types. */
typedef enum model_type {
- MODEL_M32R_D, MODEL_TEST, MODEL_MAX
+ MODEL_M32R_D, MODEL_TEST, MODEL_M32RX, MODEL_MAX
} MODEL_TYPE;
#define MAX_MODELS ((int) MODEL_MAX)
/* 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_MAX
+ UNIT_TEST_U_EXEC, UNIT_M32RX_U_EXEC, UNIT_MAX
} UNIT_TYPE;
#define MAX_UNITS (1)