mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:49:22 +02:00
* fixed OP_SUB for negative constants fitting in the shifter
This commit is contained in:
parent
47e5bc3dfd
commit
e2ec30866a
@ -313,7 +313,7 @@ unit cgcpu;
|
|||||||
end;
|
end;
|
||||||
OP_SUB:
|
OP_SUB:
|
||||||
begin
|
begin
|
||||||
op:=OP_SUB;
|
op:=OP_ADD;
|
||||||
a:=dword(-a);
|
a:=dword(-a);
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
@ -1286,7 +1286,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.62 2004-11-01 17:41:28 florian
|
Revision 1.63 2004-11-06 15:18:57 florian
|
||||||
|
* fixed OP_SUB for negative constants fitting in the shifter
|
||||||
|
|
||||||
|
Revision 1.62 2004/11/01 17:41:28 florian
|
||||||
* fixed arm compilation with cgutils
|
* fixed arm compilation with cgutils
|
||||||
* ...
|
* ...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user