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.18 by gbeauche, 2002-09-13T12:50:56Z vs.
Revision 1.19 by gbeauche, 2002-09-17T16:05:39Z

# Line 2159 | Line 2159 | static void gen_opcode (unsigned long in
2159       case i_CINVL:
2160       case i_CINVP:
2161       case i_CINVA:
2162 +        /* gb-- srcreg now contains the cache field */
2163 +        printf ("\tif (srcreg&0x2)\n");
2164 +        printf ("\t\tflush_icache(%d);\n", 30 + ((opcode >> 3) & 3));
2165 +        break;
2166       case i_CPUSHL:
2167       case i_CPUSHP:
2168       case i_CPUSHA:
2169 +        /* gb-- srcreg now contains the cache field */
2170 +        printf ("\tif (srcreg&0x2)\n");
2171 +        printf ("\t\tflush_icache(%d);\n", 40 + ((opcode >> 3) & 3));
2172          break;
2173       case i_MOVE16:
2174          if ((opcode & 0xfff8) == 0xf620) {
# Line 2227 | Line 2234 | static void generate_includes (FILE * f)
2234      fprintf (f, "#include \"memory.h\"\n");
2235      fprintf (f, "#include \"readcpu.h\"\n");
2236      fprintf (f, "#include \"newcpu.h\"\n");
2237 +    fprintf (f, "#include \"compiler/compemu.h\"\n");
2238      fprintf (f, "#include \"fpu/fpu.h\"\n");
2239      fprintf (f, "#include \"cputbl.h\"\n");
2240          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines