/[gxemul]/trunk/src/cpus/cpu_sh_instr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/cpu_sh_instr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_sh_instr.c,v 1.5 2006/02/09 22:40:27 debug Exp $   *  $Id: cpu_sh_instr.c,v 1.7 2006/02/24 01:20:36 debug Exp $
29   *   *
30   *  SH instructions.   *  SH instructions.
31   *   *
# Line 80  X(to_be_translated) Line 80  X(to_be_translated)
80          uint32_t iword;          uint32_t iword;
81          unsigned char *page;          unsigned char *page;
82          unsigned char ib[4];          unsigned char ib[4];
 #ifdef DYNTRANS_BACKEND  
         int simple = 0;  
 #endif  
83          int main_opcode, instr_size = 4;          int main_opcode, instr_size = 4;
84          /* void (*samepage_function)(struct cpu *, struct sh_instr_call *);*/          /* void (*samepage_function)(struct cpu *, struct sh_instr_call *);*/
85    
# Line 138  X(to_be_translated) Line 135  X(to_be_translated)
135    
136          main_opcode = iword >> 26;          main_opcode = iword >> 26;
137    
138    #if 0
139          switch (main_opcode) {          switch (main_opcode) {
140    
141          default:goto bad;          default:goto bad;
142          }          }
143    #endif
144    
145  #define DYNTRANS_TO_BE_TRANSLATED_TAIL  #define DYNTRANS_TO_BE_TRANSLATED_TAIL
146  #include "cpu_dyntrans.c"  #include "cpu_dyntrans.c"

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26