]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/lm32/cpu.h
* cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
[thirdparty/binutils-gdb.git] / sim / lm32 / cpu.h
index 8b44fa37d663353d9719cf91456b2a5be0a82009..3bb7caf8e095fa7c0d1088f1dc9418b64028ae2b 100644 (file)
@@ -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 1
 
+/* 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.  */