aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-cpu.h')
-rw-r--r--sim/common/cgen-cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/cgen-cpu.h b/sim/common/cgen-cpu.h
index b212100..c807182 100644
--- a/sim/common/cgen-cpu.h
+++ b/sim/common/cgen-cpu.h
@@ -82,6 +82,10 @@ typedef struct {
const CGEN_INSN * (*get_idata) (SIM_CPU *, int);
#define CPU_GET_IDATA(cpu) ((cpu)->cgen_cpu.get_idata)
+ /* Floating point support. */
+ CGEN_FPU fpu;
+#define CGEN_CPU_FPU(cpu) (& (cpu)->cgen_cpu.fpu)
+
/* Disassembler. */
CGEN_DISASSEMBLER *disassembler;
#define CPU_DISASSEMBLER(cpu) ((cpu)->cgen_cpu.disassembler)