Changeset 226 in dev for trunk/abdev/BasicCompiler64/NumOpe_Relation.cpp
- Timestamp:
- Jul 22, 2007, 4:58:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/NumOpe_Relation.cpp
r206 r226 1 1 #include "stdafx.h" 2 3 #include <Compiler.h> 2 4 3 5 #include "../BasicCompiler_Common/common.h" … … 24 26 if(AnswerType==DEF_DOUBLE){ 25 27 //comisd xmm_reg1,xmm_reg2 26 op_comisd(xmm_reg1,xmm_reg2);28 compiler.codeGenerator.op_comisd(xmm_reg1,xmm_reg2); 27 29 } 28 30 else if(AnswerType==DEF_SINGLE){ 29 31 //comiss xmm_reg1,xmm_reg2 30 op_comiss(xmm_reg1,xmm_reg2);32 compiler.codeGenerator.op_comiss(xmm_reg1,xmm_reg2); 31 33 } 32 34 … … 46 48 47 49 //cmp reg1,reg2 48 op_cmp_reg(sizeof(_int64),reg1,reg2);50 compiler.codeGenerator.op_cmp_reg(sizeof(_int64),reg1,reg2); 49 51 } 50 52 else{ … … 57 59 58 60 //cmp reg1,reg2 59 op_cmp_reg(sizeof(long),reg1,reg2);61 compiler.codeGenerator.op_cmp_reg(sizeof(long),reg1,reg2); 60 62 } 61 63 … … 137 139 138 140 //xor reg1,reg1 139 op_zero_reg(reg1);141 compiler.codeGenerator.op_zero_reg(reg1); 140 142 141 143 //jmp 7(次のmovを飛び越す) … … 149 151 150 152 //mov reg1,1 151 op_mov_RV(sizeof(_int64),reg1,1);153 compiler.codeGenerator.op_mov_RV(sizeof(_int64),reg1,1); 152 154 153 155
Note:
See TracChangeset
for help on using the changeset viewer.