Changeset 308 in dev for trunk/abdev/BasicCompiler64/increment.cpp
- Timestamp:
- Aug 29, 2007, 9:05:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/increment.cpp
r226 r308 41 41 else{ 42 42 reg=REG_RAX; 43 SetReg_WholeVariable(varType .GetBasicType(),&VarRelativeVar,reg);43 SetReg_WholeVariable(varType,&VarRelativeVar,reg); 44 44 } 45 45 … … 94 94 //右辺値レジスタ 95 95 if(varType.IsDouble()) 96 ChangeTypeToXmm_Double(calcType.GetBasicType(), 96 { 97 ChangeTypeToXmm_Double( 98 calcType.GetBasicType(), 97 99 pobj_reg->LockXmmReg(), 98 pobj_reg->GetNextReg()); 100 pobj_reg->GetNextReg() 101 ); 102 } 99 103 else if(varType.IsSingle()) 100 ChangeTypeToXmm_Single(calcType.GetBasicType(), 104 { 105 ChangeTypeToXmm_Single( 106 calcType.GetBasicType(), 101 107 pobj_reg->LockXmmReg(), 102 pobj_reg->GetNextReg()); 108 pobj_reg->GetNextReg() 109 ); 110 } 103 111 else 104 ChangeTypeToWhole(calcType.GetBasicType(),varType.GetBasicType(), 112 { 113 ChangeTypeToWhole( 114 calcType, 115 varType, 105 116 pobj_reg->LockReg(), 106 pobj_reg->GetNextXmmReg()); 117 pobj_reg->GetNextXmmReg() 118 ); 119 } 107 120 108 121 int type_stack[255],sp; … … 159 172 } 160 173 161 SetVariableFromRax(varType .GetBasicType(),varType.GetBasicType(),&VarRelativeVar);174 SetVariableFromRax(varType,varType.GetBasicType(),&VarRelativeVar); 162 175 }
Note:
See TracChangeset
for help on using the changeset viewer.