Ignore:
Timestamp:
Mar 7, 2008, 12:27:20 PM (16 years ago)
Author:
dai_9181
Message:

64bitコンパイラで32bit値のxor演算が正常に行われないバグを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler64/NumOpe_Logical.cpp

    r308 r419  
    4040            compiler.codeGenerator.op_and_reg(sizeof(_int64),reg1,reg2);
    4141        }
     42        else
     43        {
     44            throw;
     45        }
    4246
    4347        if(reg1==REG_R14){
     
    5458        SetTowTermToReg_Whole32Calc(type,sp,&reg1,&reg2);
    5559
    56         if(idCalc==CALC_ADDITION){
     60        if(idCalc==CALC_XOR){
    5761            //add reg1,reg2
    5862            compiler.codeGenerator.op_xor_reg(sizeof(long),reg1,reg2);
     
    6569            //and reg1,reg2
    6670            compiler.codeGenerator.op_and_reg(sizeof(long),reg1,reg2);
     71        }
     72        else
     73        {
     74            throw;
    6775        }
    6876
Note: See TracChangeset for help on using the changeset viewer.