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

Comparing BasiliskII/src/uae_cpu/readcpu.h (file contents):
Revision 1.3 by gbeauche, 2001-03-19T13:11:40Z vs.
Revision 1.4 by gbeauche, 2002-09-01T15:17:13Z

# Line 1 | Line 1
1 + #ifndef READCPU_H
2 + #define READCPU_H
3 +
4   #ifdef __cplusplus
5   extern "C" {
6   #endif
# Line 32 | Line 35 | ENUMDECL {
35      i_PACK, i_UNPK, i_TAS, i_BKPT, i_CALLM, i_RTM, i_TRAPcc, i_MOVES,
36      i_FPP, i_FDBcc, i_FScc, i_FTRAPcc, i_FBcc, i_FSAVE, i_FRESTORE,
37      i_CINVL, i_CINVP, i_CINVA, i_CPUSHL, i_CPUSHP, i_CPUSHA, i_MOVE16,
38 <    i_MMUOP
38 >    i_MMUOP,
39 >        i_EMULOP_RETURN, i_EMULOP
40   } ENUMNAME (instrmnem);
41  
42   extern struct mnemolookup {
# Line 53 | Line 57 | ENUMDECL {
57   } ENUMNAME (flaguse);
58  
59   ENUMDECL {
60 +        fl_normal               = 0,
61 +    fl_branch           = 1,
62 +        fl_jump                 = 2,
63 +        fl_return               = 3,
64 +        fl_trap                 = 4,
65 +        fl_compiled             = 8,
66 +        
67 +        /* Instructions that can trap don't mark the end of a block */
68 +        fl_end_block    = 3
69 + } ENUMNAME (cflow_t);
70 +
71 + ENUMDECL {
72      bit0, bit1, bitc, bitC, bitf, biti, bitI, bitj, bitJ, bitk, bitK,
73 <    bits, bitS, bitd, bitD, bitr, bitR, bitz, bitp, lastbit
73 >    bits, bitS, bitd, bitD, bitr, bitR, bitz, bitE, bitp, lastbit
74   } ENUMNAME (bitvals);
75  
76   struct instr_def {
# Line 68 | Line 84 | struct instr_def {
84          unsigned int flaguse:3;
85          unsigned int flagset:3;
86      } flaginfo[5];
87 +        unsigned char cflow;
88      unsigned char sduse;
89      const char *opcstr;
90   };
# Line 101 | Line 118 | extern struct instr {
118      unsigned int duse:1;
119      unsigned int unused1:1;
120      unsigned int clev:3;
121 <    unsigned int unused2:5;
121 >        unsigned int cflow:3;
122 >    unsigned int unused2:2;
123   } *table68k;
124  
125   extern void read_table68k (void);
# Line 112 | Line 130 | extern int nr_cpuop_funcs;
130   #ifdef __cplusplus
131   }
132   #endif
133 +
134 + #endif /* READCPU_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines