mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 17:08:01 +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
|
||||
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:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user