tmp_alpha_tail.cc Source File

Back to the index.

tmp_alpha_tail.cc
Go to the documentation of this file.
1 
2 /*
3  * AUTOMATICALLY GENERATED! Do not edit.
4  */
5 
6 extern size_t dyntrans_cache_size;
7 #ifdef DYNTRANS_32
8 #define MODE32
9 #endif
10 #define DYNTRANS_FUNCTION_TRACE_DEF alpha_cpu_functioncall_trace
11 #include "cpu_dyntrans.cc"
12 #undef DYNTRANS_FUNCTION_TRACE_DEF
13 
14 #define DYNTRANS_INIT_TABLES alpha_cpu_init_tables
15 #include "cpu_dyntrans.cc"
16 #undef DYNTRANS_INIT_TABLES
17 
18 #define DYNTRANS_TC_ALLOCATE_DEFAULT_PAGE_DEF alpha_tc_allocate_default_page
19 #include "cpu_dyntrans.cc"
20 #undef DYNTRANS_TC_ALLOCATE_DEFAULT_PAGE_DEF
21 
22 #define DYNTRANS_INVAL_ENTRY
23 #include "cpu_dyntrans.cc"
24 #undef DYNTRANS_INVAL_ENTRY
25 
26 #define DYNTRANS_INVALIDATE_TC alpha_invalidate_translation_caches
27 #include "cpu_dyntrans.cc"
28 #undef DYNTRANS_INVALIDATE_TC
29 
30 #define DYNTRANS_INVALIDATE_TC_CODE alpha_invalidate_code_translation
31 #include "cpu_dyntrans.cc"
32 #undef DYNTRANS_INVALIDATE_TC_CODE
33 
34 #define DYNTRANS_UPDATE_TRANSLATION_TABLE alpha_update_translation_table
35 #include "cpu_dyntrans.cc"
36 #undef DYNTRANS_UPDATE_TRANSLATION_TABLE
37 
38 #define MEMORY_RW alpha_memory_rw
39 #define MEM_ALPHA
40 #include "memory_rw.cc"
41 #undef MEM_ALPHA
42 #undef MEMORY_RW
43 
44 #define DYNTRANS_PC_TO_POINTERS_FUNC alpha_pc_to_pointers
45 #define DYNTRANS_PC_TO_POINTERS_GENERIC alpha_pc_to_pointers_generic
46 #include "cpu_dyntrans.cc"
47 #undef DYNTRANS_PC_TO_POINTERS_FUNC
48 
49 #undef DYNTRANS_PC_TO_POINTERS_GENERIC
50 
51 #define COMBINE_INSTRUCTIONS alpha_combine_instructions
52 #ifndef DYNTRANS_32
53 #define reg(x) (*((uint64_t *)(x)))
54 #define MODE_uint_t uint64_t
55 #define MODE_int_t int64_t
56 #else
57 #define reg(x) (*((uint32_t *)(x)))
58 #define MODE_uint_t uint32_t
59 #define MODE_int_t int32_t
60 #endif
61 #define COMBINE(n) alpha_combine_ ## n
62 #include "quick_pc_to_pointers.h"
63 #include "cpu_alpha_instr.cc"
64 
65 #define DYNTRANS_RUN_INSTR_DEF alpha_run_instr
66 #include "cpu_dyntrans.cc"
67 #undef DYNTRANS_RUN_INSTR_DEF
68 
69 #ifdef DYNTRANS_DUALMODE_32
70 #undef COMBINE_INSTRUCTIONS
71 #define COMBINE_INSTRUCTIONS alpha32_combine_instructions
72 #undef X
73 #undef instr
74 #undef reg
75 #define X(n) void alpha32_instr_ ## n(struct cpu *cpu, \
76  struct alpha_instr_call *ic)
77 #define instr(n) alpha32_instr_ ## n
78 #ifdef HOST_LITTLE_ENDIAN
79 #define reg(x) ( *((uint32_t *)(x)) )
80 #else
81 #define reg(x) ( *((uint32_t *)(x)+1) )
82 #endif
83 #define MODE32
84 #undef MODE_uint_t
85 #undef MODE_int_t
86 #define MODE_uint_t uint32_t
87 #define MODE_int_t int32_t
88 #define DYNTRANS_INVAL_ENTRY
89 #undef DYNTRANS_INVALIDATE_TLB_ENTRY
90 #define DYNTRANS_INVALIDATE_TLB_ENTRY alpha32_invalidate_tlb_entry
91 #include "cpu_dyntrans.cc"
92 #undef DYNTRANS_INVAL_ENTRY
93 
94 #define DYNTRANS_INVALIDATE_TC alpha32_invalidate_translation_caches
95 #include "cpu_dyntrans.cc"
96 #undef DYNTRANS_INVALIDATE_TC
97 
98 #define DYNTRANS_INVALIDATE_TC_CODE alpha32_invalidate_code_translation
99 #include "cpu_dyntrans.cc"
100 #undef DYNTRANS_INVALIDATE_TC_CODE
101 
102 #define DYNTRANS_UPDATE_TRANSLATION_TABLE alpha32_update_translation_table
103 #include "cpu_dyntrans.cc"
104 #undef DYNTRANS_UPDATE_TRANSLATION_TABLE
105 
106 #define DYNTRANS_PC_TO_POINTERS_FUNC alpha32_pc_to_pointers
107 #define DYNTRANS_PC_TO_POINTERS_GENERIC alpha32_pc_to_pointers_generic
108 #undef DYNTRANS_PC_TO_POINTERS
109 #define DYNTRANS_PC_TO_POINTERS alpha32_pc_to_pointers
110 #include "cpu_dyntrans.cc"
111 #undef DYNTRANS_PC_TO_POINTERS_FUNC
112 
113 #undef DYNTRANS_PC_TO_POINTERS_GENERIC
114 
115 #undef COMBINE
116 #define COMBINE(n) alpha32_combine_ ## n
117 #include "quick_pc_to_pointers.h"
118 #include "cpu_alpha_instr.cc"
119 
120 #undef DYNTRANS_PC_TO_POINTERS
121 #define DYNTRANS_PC_TO_POINTERS alpha_pc_to_pointers
122 #define DYNTRANS_PC_TO_POINTERS32 alpha32_pc_to_pointers
123 
124 #define DYNTRANS_RUN_INSTR_DEF alpha32_run_instr
125 #include "cpu_dyntrans.cc"
126 #undef DYNTRANS_RUN_INSTR_DEF
127 
128 #endif /* DYNTRANS_DUALMODE_32 */
129 
130 
131 CPU_FAMILY_INIT(alpha,"Alpha")
132 
#define CPU_FAMILY_INIT(n, s)
Definition: cpu.h:501
size_t dyntrans_cache_size
Definition: main.cc:65

Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13