* disable OptPass2Test and OptPass2CMP for now as it seems to result in buggy code

This commit is contained in:
florian 2024-01-23 22:11:59 +01:00
parent 981ec64666
commit c4fc5fc916
2 changed files with 4 additions and 0 deletions

View File

@ -291,10 +291,12 @@ unit aoptcpu;
case taicpu(p).opcode Of case taicpu(p).opcode Of
A_ADD: A_ADD:
Result:=OptPass2ADD(p); Result:=OptPass2ADD(p);
{ disable for now as the it seems to cause buggy code
A_CMP: A_CMP:
Result:=OptPass2CMP(p); Result:=OptPass2CMP(p);
A_TEST: A_TEST:
Result:=OptPass2TEST(p); Result:=OptPass2TEST(p);
}
A_Jcc: A_Jcc:
Result:=OptPass2Jcc(p); Result:=OptPass2Jcc(p);
A_Lea: A_Lea:

View File

@ -228,10 +228,12 @@ uses
Result:=OptPass2ADD(p); Result:=OptPass2ADD(p);
A_SETcc: A_SETcc:
result:=OptPass2SETcc(p); result:=OptPass2SETcc(p);
{ disable for now as the it seems to cause buggy code
A_CMP: A_CMP:
Result:=OptPass2CMP(p); Result:=OptPass2CMP(p);
A_TEST: A_TEST:
Result:=OptPass2TEST(p); Result:=OptPass2TEST(p);
}
else else
; ;
end; end;