* 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
A_ADD:
Result:=OptPass2ADD(p);
{ disable for now as the it seems to cause buggy code
A_CMP:
Result:=OptPass2CMP(p);
A_TEST:
Result:=OptPass2TEST(p);
}
A_Jcc:
Result:=OptPass2Jcc(p);
A_Lea:

View File

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