|
@@ -80,13 +80,10 @@ implementation
|
|
|
begin
|
|
|
hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,left.resultdef,false);
|
|
|
|
|
|
- current_asmdata.getjumplabel(tlabel);
|
|
|
- current_asmdata.getjumplabel(flabel);
|
|
|
+ location_reset(location,LOC_REGISTER,OS_INT);
|
|
|
+ location.register:=hlcg.getintregister(current_asmdata.CurrAsmList,s32inttype);
|
|
|
|
|
|
- location_reset_jump(location,tlabel,flabel);
|
|
|
-
|
|
|
- hlcg.a_cmp_const_reg_label(current_asmdata.CurrAsmList,left.resultdef,OC_EQ,0,left.location.register,tlabel);
|
|
|
- hlcg.a_jmp_always(current_asmdata.CurrAsmList,flabel);
|
|
|
+ current_asmdata.CurrAsmList.Concat(taicpu.op_reg_reg_const(A_SLTIU,location.register,left.location.register,1));
|
|
|
end;
|
|
|
else
|
|
|
internalerror(2003042401);
|