From 197fa1aa2ca7f943805196c37031b44f7b87d5a7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 23 Nov 2009 04:12:17 +0000 Subject: * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define. (EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define. (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype instead of CGEN_INSN_INT. plus, cgen files: Regenerate. --- sim/m32r/cpux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sim/m32r/cpux.h') diff --git a/sim/m32r/cpux.h b/sim/m32r/cpux.h index 784536e..088abd3 100644 --- a/sim/m32r/cpux.h +++ b/sim/m32r/cpux.h @@ -32,6 +32,12 @@ This file is part of the GNU simulators. /* Maximum number of instructions that can be executed in parallel. */ #define MAX_PARALLEL_INSNS 2 +/* The size of an "int" needed to hold an instruction word. + This is usually 32 bits, but some architectures needs 64 bits. */ +typedef CGEN_INSN_INT CGEN_INSN_WORD; + +#include "cgen-engine.h" + /* CPU state information. */ typedef struct { /* Hardware elements. */ -- cgit v1.1