Changeset 226 in dev for trunk/abdev/BasicCompiler64/NumOpe.cpp
- Timestamp:
- Jul 22, 2007, 4:58:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/NumOpe.cpp
r224 r226 30 30 31 31 //mov reg,rax 32 op_mov_RR( reg, REG_RAX );32 compiler.codeGenerator.op_mov_RR( reg, REG_RAX ); 33 33 34 34 ///////////////////////////////////////////// … … 54 54 if(type==DEF_DOUBLE){ 55 55 //movsd xmm_reg,xmm0 56 op_movsd_RR(XmmReg,REG_XMM0);56 compiler.codeGenerator.op_movsd_RR(XmmReg,REG_XMM0); 57 57 } 58 58 else if(type==DEF_SINGLE){ 59 59 //movss xmm_reg,xmm0 60 op_movss_RR(XmmReg,REG_XMM0);60 compiler.codeGenerator.op_movss_RR(XmmReg,REG_XMM0); 61 61 } 62 62 } … … 70 70 else{ 71 71 //mov reg,rax 72 op_mov_RR(UseReg,REG_RAX);72 compiler.codeGenerator.op_mov_RR(UseReg,REG_RAX); 73 73 } 74 74 } … … 142 142 143 143 //オブジェクトポインタをr11にコピー 144 op_mov_RR( REG_R11, UseReg );144 compiler.codeGenerator.op_mov_RR( REG_R11, UseReg ); 145 145 146 146 RELATIVE_VAR relativeVar; … … 555 555 556 556 //mov reg,rax 557 op_mov_RR( *pReg, REG_RAX );557 compiler.codeGenerator.op_mov_RR( *pReg, REG_RAX ); 558 558 559 559 return true; … … 603 603 604 604 //mov reg,i2 605 op_mov_RV(sizeof(_int64),*pReg,i2);605 compiler.codeGenerator.op_mov_RV(sizeof(_int64),*pReg,i2); 606 606 obp-=sizeof(long); 607 607 pobj_DataTableSchedule->add(); … … 796 796 797 797 //mov reg,i2 798 op_mov_RV(sizeof(_int64),UseReg,i2);798 compiler.codeGenerator.op_mov_RV(sizeof(_int64),UseReg,i2); 799 799 obp-=sizeof(long); 800 800 pobj_DataTableSchedule->add(); … … 895 895 896 896 //xor reg,reg 897 op_zero_reg( UseReg );897 compiler.codeGenerator.op_zero_reg( UseReg ); 898 898 899 899 if(UseReg==REG_R14){ … … 971 971 if(XmmReg==REG_XMM4){ 972 972 //mov r14,i64data 973 op_mov64_ToReg(REG_R14,i64data);973 compiler.codeGenerator.op_mov64_ToReg(REG_R14,i64data); 974 974 975 975 … … 1004 1004 SetError(); // TODO: 未実装 1005 1005 //push term 1006 op_push_value(i32data);1006 //compiler.codeGenerator.op_push_value(i32data); 1007 1007 } 1008 1008 else{ … … 1026 1026 1027 1027 //mov reg,i64data 1028 op_mov64_ToReg(UseReg,i64data);1028 compiler.codeGenerator.op_mov64_ToReg(UseReg,i64data); 1029 1029 1030 1030 if(UseReg==REG_R14){ … … 1194 1194 1195 1195 //mov reg,i64data 1196 op_mov64_ToReg(UseReg,i64data);1196 compiler.codeGenerator.op_mov64_ToReg(UseReg,i64data); 1197 1197 } 1198 1198
Note:
See TracChangeset
for help on using the changeset viewer.