This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / common / cgen-cpu.h
index b2121009033681c4717c3b6d1d56891135c0a53e..914fb45991d8a454de4d2d33f77390a07cc4a4b0 100644 (file)
@@ -63,8 +63,8 @@ typedef struct {
   IDESC *idesc;
 #define CPU_IDESC(cpu) ((cpu)->cgen_cpu.idesc)
 
-  /* Whether the read,write,semantic entries (computed goto labels) have been
-     initialized or not.  */
+  /* Whether the read,write,semantic entries (function pointers or computed
+     goto labels) have been initialized or not.  */
   int idesc_read_init_p;
 #define CPU_IDESC_READ_INIT_P(cpu) ((cpu)->cgen_cpu.idesc_read_init_p)
   int idesc_write_init_p;
@@ -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)
This page took 0.022497 seconds and 4 git commands to generate.