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.8 by cebix, 1999-10-28T16:52:28Z vs.
Revision 1.10 by cebix, 1999-11-03T10:56:40Z

# Line 232 | Line 232 | static void genamode (amodes mode, char
232          if (getv == 1)
233              switch (size) {
234               case sz_byte:
235 < #ifdef AMIGA
235 > #if defined(AMIGA) && !defined(WARPUP)
236                  /* sam: I don't know why gcc.2.7.2.1 produces a code worse */
237                  /* if it is not done like that: */
238                  printf ("\tuae_s8 %s = ((uae_u8*)&m68k_dreg(regs, %s))[3];\n", name, reg);
# Line 241 | Line 241 | static void genamode (amodes mode, char
241   #endif
242                  break;
243               case sz_word:
244 < #ifdef AMIGA
244 > #if defined(AMIGA) && !defined(WARPUP)
245                  printf ("\tuae_s16 %s = ((uae_s16*)&m68k_dreg(regs, %s))[1];\n", name, reg);
246   #else
247                  printf ("\tuae_s16 %s = m68k_dreg(regs, %s);\n", name, reg);
# Line 2514 | Line 2514 | static void generate_one_opcode (int rp)
2514      }
2515      fprintf (stblfile, "{ op_%lx_%d, 0, %ld }, /* %s */\n", opcode, postfix, opcode, lookuptab[i].name);
2516      fprintf (headerfile, "extern cpuop_func op_%lx_%d;\n", opcode, postfix);
2517 <    printf ("unsigned long REGPARAM2 op_%lx_%d(uae_u32 opcode) /* %s */\n{\n", opcode, postfix, lookuptab[i].name);
2517 >    printf ("void REGPARAM2 op_%lx_%d(uae_u32 opcode) /* %s */\n{\n", opcode, postfix, lookuptab[i].name);
2518  
2519      switch (table68k[opcode].stype) {
2520       case 0: smsk = 7; break;
# Line 2628 | Line 2628 | static void generate_one_opcode (int rp)
2628      gen_opcode (opcode);
2629      if (need_endlabel)
2630          printf ("%s: ;\n", endlabelstr);
2631    printf ("return %d;\n", insn_n_cycles);
2631      printf ("}\n");
2632      opcode_next_clev[rp] = next_cpu_level;
2633      opcode_last_postfix[rp] = postfix;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines