mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 09:47:56 +02:00
* disable OptPass2Test and OptPass2CMP for now as it seems to result in buggy code
This commit is contained in:
parent
981ec64666
commit
c4fc5fc916
@ -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:
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user