Changeset 229 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Jul 24, 2007, 11:35:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h
r228 r229 129 129 ///////////////////////////////////////////////////////////////// 130 130 private: 131 void set_mod_rm_sib_disp(char mod,int reg,int scale,int index_reg,int base_reg,long disp );131 void set_mod_rm_sib_disp(char mod,int reg,int scale,int index_reg,int base_reg,long disp, Schedule::Type scheduleType = Schedule::None ); 132 132 void __op_format(char op_prefix,char opcode,int reg); 133 void __op_format(char op_prefix,char opcode1,char opcode2,int reg,int base_reg,int offset,char mod );133 void __op_format(char op_prefix,char opcode1,char opcode2,int reg,int base_reg,int offset,char mod, Schedule::Type scheduleType = Schedule::None ); 134 134 public: 135 void op_mov_RV (int reg,long offset); 136 void op_mov_RV (int op_size,int reg,int offset); 135 void op_mov_RV (int reg,long offset, Schedule::Type scheduleType = Schedule::None ); 137 136 void op_mov_RR (int reg1,int reg2); 138 void op_mov_RM (int op_size,int reg,int base_reg,int offset,char mod );139 void op_mov_RM_ex (int op_size,int reg,int base_reg1,int base_reg2,long offset,BOOL bUseOffset );140 void op_mov_MR (int op_size,int reg,int base_reg,int offset,char mod );141 void op_mov_MR_ex (int op_size,int reg,int base_reg1,int base_reg2,long offset,BOOL bUseOffset );137 void op_mov_RM (int op_size,int reg,int base_reg,int offset,char mod, Schedule::Type scheduleType = Schedule::None ); 138 void op_mov_RM_ex (int op_size,int reg,int base_reg1,int base_reg2,long offset,BOOL bUseOffset, Schedule::Type scheduleType = Schedule::None ); 139 void op_mov_MR (int op_size,int reg,int base_reg,int offset,char mod, Schedule::Type scheduleType = Schedule::None ); 140 void op_mov_MR_ex (int op_size,int reg,int base_reg1,int base_reg2,long offset,BOOL bUseOffset, Schedule::Type scheduleType = Schedule::None ); 142 141 void op_movsx_R32R16 (int reg32,int reg16 = REG_NON); 143 142 void op_movsx_R32R8 (int reg32,int reg8 = REG_NON); … … 147 146 void op_add_RV8 (int reg,char cValue); 148 147 void op_add_RR ( int reg1, int reg2 ); 149 void op_add_RM (int op_size,int reg,int base_reg,int offset,char mod );148 void op_add_RM (int op_size,int reg,int base_reg,int offset,char mod, Schedule::Type scheduleType = Schedule::None ); 150 149 void op_adc_RV8 (int reg,char cValue); 151 150 void op_adc_RR ( int reg1, int reg2 ); … … 171 170 void op_push_V(long data); 172 171 void op_push_M( int base_reg ); 172 void op_push_M( int base_reg, long offset, Schedule::Type scheduleType = Schedule::None ); 173 173 void op_pop(int reg = REG_NON); 174 174 void op_add_esp(long num); … … 181 181 void op_fld_ptr_esp(int type); 182 182 void op_fld_basereg (int type,int base_reg); 183 void op_fld_base_offset (int type,int base_reg,long offset );184 void op_fld_base_offset_ex (int type,int base_reg1,int base_reg2,long offset,BOOL bUseOffset );183 void op_fld_base_offset (int type,int base_reg,long offset, Schedule::Type scheduleType = Schedule::None ); 184 void op_fld_base_offset_ex (int type,int base_reg1,int base_reg2,long offset,BOOL bUseOffset, Schedule::Type scheduleType = Schedule::None); 185 185 void op_fstp_basereg (int type,int base_reg); 186 void op_fstp_base_offset (int type,int base_reg,long offset );187 void op_fstp_base_offset_ex (int type,int base_reg1,int base_reg2,long offset,BOOL bUseOffset );186 void op_fstp_base_offset (int type,int base_reg,long offset, Schedule::Type scheduleType = Schedule::None); 187 void op_fstp_base_offset_ex (int type,int base_reg1,int base_reg2,long offset,BOOL bUseOffset, Schedule::Type scheduleType = Schedule::None); 188 188 void op_fistp_ptr_esp ( int typeSize ); 189 189 void op_fstp_push ( Type &type );
Note:
See TracChangeset
for help on using the changeset viewer.