ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/gencpu.c
(Generate patch)

Comparing BasiliskII/src/uae_cpu/gencpu.c (file contents):
Revision 1.17 by gbeauche, 2002-09-01T15:17:13Z vs.
Revision 1.18 by gbeauche, 2002-09-13T12:50:56Z

# Line 2113 | Line 2113 | static void gen_opcode (unsigned long in
2113          genamode (curi->smode, "srcreg", curi->size, "extra", 1, 0);
2114          sync_m68k_pc ();
2115          swap_opcode ();
2116 <        printf ("\tfpp_opp(opcode,extra);\n");
2116 >        printf ("\tfpuop_arithmetic(opcode, extra);\n");
2117          break;
2118       case i_FDBcc:
2119          genamode (curi->smode, "srcreg", curi->size, "extra", 1, 0);
2120          sync_m68k_pc ();
2121          swap_opcode ();
2122 <        printf ("\tfdbcc_opp(opcode,extra);\n");
2122 >        printf ("\tfpuop_dbcc(opcode, extra);\n");
2123          break;
2124       case i_FScc:
2125          genamode (curi->smode, "srcreg", curi->size, "extra", 1, 0);
2126          sync_m68k_pc ();
2127          swap_opcode ();
2128 <        printf ("\tfscc_opp(opcode,extra);\n");
2128 >        printf ("\tfpuop_scc(opcode,extra);\n");
2129          break;
2130       case i_FTRAPcc:
2131          sync_m68k_pc ();
# Line 2135 | Line 2135 | static void gen_opcode (unsigned long in
2135              genamode (curi->smode, "srcreg", curi->size, "dummy", 1, 0);
2136          sync_m68k_pc ();
2137          swap_opcode ();
2138 <        printf ("\tftrapcc_opp(opcode,oldpc);\n");
2138 >        printf ("\tfpuop_trapcc(opcode,oldpc);\n");
2139          break;
2140       case i_FBcc:
2141          sync_m68k_pc ();
# Line 2144 | Line 2144 | static void gen_opcode (unsigned long in
2144          genamode (curi->dmode, "srcreg", curi->size, "extra", 1, 0);
2145          sync_m68k_pc ();
2146          swap_opcode ();
2147 <        printf ("\tfbcc_opp(opcode,pc,extra);\n");
2147 >        printf ("\tfpuop_bcc(opcode,pc,extra);\n");
2148          break;
2149       case i_FSAVE:
2150          sync_m68k_pc ();
2151          swap_opcode ();
2152 <        printf ("\tfsave_opp(opcode);\n");
2152 >        printf ("\tfpuop_save(opcode);\n");
2153          break;
2154       case i_FRESTORE:
2155          sync_m68k_pc ();
2156          swap_opcode ();
2157 <        printf ("\tfrestore_opp(opcode);\n");
2157 >        printf ("\tfpuop_restore(opcode);\n");
2158          break;
2159       case i_CINVL:
2160       case i_CINVP:
# Line 2227 | Line 2227 | static void generate_includes (FILE * f)
2227      fprintf (f, "#include \"memory.h\"\n");
2228      fprintf (f, "#include \"readcpu.h\"\n");
2229      fprintf (f, "#include \"newcpu.h\"\n");
2230 +    fprintf (f, "#include \"fpu/fpu.h\"\n");
2231      fprintf (f, "#include \"cputbl.h\"\n");
2232          
2233          fprintf (f, "#define SET_CFLG_ALWAYS(x) SET_CFLG(x)\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines